From: Matt Joiner Date: Sun, 3 Apr 2016 06:52:52 +0000 (+1000) Subject: Comments X-Git-Tag: v1.0.0~796 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=501ae0c98c985c0f284adf5b08b9437dabef8dbe;p=btrtrc.git Comments --- diff --git a/torrent.go b/torrent.go index 7d0e022c..3fd2e63c 100644 --- a/torrent.go +++ b/torrent.go @@ -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