]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Comments
authorMatt Joiner <anacrolix@gmail.com>
Sun, 3 Apr 2016 06:52:52 +0000 (16:52 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 3 Apr 2016 06:52:52 +0000 (16:52 +1000)
torrent.go

index 7d0e022c4c61532e17c7796433f37c8c1441cbf5..3fd2e63c6c54b1f0c71e325744fa765a79a3280e 100644 (file)
@@ -54,10 +54,12 @@ type torrent struct {
        // get this from the info dict.
        length int64
 
+       // The storage to open when the info dict becomes available.
        storageOpener storage.I
-       storage       storage.Torrent
+       // Storage for torrent data.
+       storage storage.Torrent
 
-       // The info dict. Nil if we don't have it (yet).
+       // The info dict. nil if we don't have it (yet).
        info *metainfo.InfoEx
        // Active peer connections, running message stream loops.
        conns []*connection