]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/completion.go
Remove the InfoEx type, and don't generate its infohash on the fly
[btrtrc.git] / storage / completion.go
index a5c28fcb4a6442a342e378e8f333bfd0ccfb3ef1..c3047be2189891835df6a60e241386585ec0db6e 100644 (file)
@@ -7,8 +7,8 @@ import (
 )
 
 type pieceCompletion interface {
-       Get(metainfo.Piece) (bool, error)
-       Set(metainfo.Piece, bool) error
+       Get(metainfo.PieceKey) (bool, error)
+       Set(metainfo.PieceKey, bool) error
        Close()
 }