aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/torrent.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/torrent.go b/meta/torrent.go
index bf57354..9a63fa8 100644
--- a/meta/torrent.go
+++ b/meta/torrent.go
@@ -32,6 +32,8 @@ func (i Info) String() string {
s += fmt.Sprintln(f)
}
s += fmt.Sprintf("%s (%d)\n", i.Name, i.Length)
+ s += fmt.Sprintf("chunks: %d * %d + %d\n",
+ i.Length/i.PieceLength, i.PieceLength, i.Length%i.PieceLength)
return s
}