mirror of
https://github.com/vbatts/tar-split.git
synced 2024-11-25 09:15:40 +00:00
main.go: show remainder count
This commit is contained in:
parent
cefcbc6fe3
commit
a4fa9207cd
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -65,6 +65,7 @@ func main() {
|
|||
}
|
||||
sum += i
|
||||
|
||||
// I've never seen this be populated
|
||||
post := tr.RawBytes()
|
||||
output.Write(post)
|
||||
sum += int64(len(post))
|
||||
|
@ -80,6 +81,7 @@ func main() {
|
|||
}
|
||||
output.Write(remainder)
|
||||
sum += int64(len(remainder))
|
||||
fmt.Printf("Remainder: %d\n", len(remainder))
|
||||
|
||||
if size != sum {
|
||||
fmt.Printf("Size: %d; Sum: %d; Diff: %d\n", size, sum, size-sum)
|
||||
|
|
Loading…
Reference in a new issue