torrent.go | 6 ++++-- diff --git a/torrent.go b/torrent.go index 7d0e022c4c61532e17c7796433f37c8c1441cbf5..3fd2e63c6c54b1f0c71e325744fa765a79a3280e 100644 --- a/torrent.go +++ b/torrent.go @@ -54,10 +54,12 @@ // Total length of the torrent in bytes. Stored because it's not O(1) to // 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