From: Matt Joiner Date: Thu, 4 Jun 2015 04:25:52 +0000 (+1000) Subject: Clarify Example_fileReader X-Git-Tag: v1.0.0~1156 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=679c0332715dbeb0fa84bd14341a9fac58c7280a;p=btrtrc.git Clarify Example_fileReader --- diff --git a/example_test.go b/example_test.go index 002f507d..9dc7502c 100644 --- a/example_test.go +++ b/example_test.go @@ -24,6 +24,7 @@ func Example_fileReader() { ) r := t.NewReader() defer r.Close() + // Access the parts of the torrent pertaining to f. Data will be + // downloaded as required, per the configuration of the torrent.Reader. _ = io.NewSectionReader(r, f.Offset(), f.Length()) - // fr will read from the parts of the torrent pertaining to f. }