]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/interface.go
Remove the InfoEx type, and don't generate its infohash on the fly
[btrtrc.git] / storage / interface.go
index b2c3724e2d8428fa853f956dd5a141cf8c78dc1b..24716e0cba1f8011fbd63d86169953a9271b9120 100644 (file)
@@ -8,7 +8,7 @@ import (
 
 // Represents data storage for an unspecified torrent.
 type Client interface {
-       OpenTorrent(info *metainfo.InfoEx) (Torrent, error)
+       OpenTorrent(info *metainfo.Info, infoHash metainfo.Hash) (Torrent, error)
 }
 
 // Data storage bound to a torrent.