From d42799be2c75504e6412ca3e6b22cbe3cb1afbe8 Mon Sep 17 00:00:00 2001 From: nsf Date: Wed, 11 Jul 2012 02:44:22 +0600 Subject: [PATCH] torrent: Fix documentation. --- torrent/builder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torrent/builder.go b/torrent/builder.go index fbf9c32d..a32abd29 100644 --- a/torrent/builder.go +++ b/torrent/builder.go @@ -258,8 +258,8 @@ func (b *Batch) DefaultName() string { // SHA1 hashing. Therefore it will return almost immedately. It returns two // channels, the first one is for completion awaiting, the second one is for // getting status reports. Status report is a number of bytes hashed, you can -// get the total amount of bytes by inspecting the appropriate Batch structure -// field. +// get the total amount of bytes by inspecting the Batch.TotalSize method return +// value. func (b *Batch) Start(w io.Writer, nworkers int) (<-chan error, <-chan int64) { if nworkers <= 0 { nworkers = 1 -- 2.48.1