]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/interface.go
Fix UseSources panicking when sqlite storage is closed
[btrtrc.git] / storage / interface.go
index b28a52b0efb8cfa1d47556e4e461c6e4a9caebdf..9e8de06c8f55313370e938d386f234f45b22e3d3 100644 (file)
@@ -51,6 +51,7 @@ type PieceImpl interface {
 type Completion struct {
        Complete bool
        Ok       bool
+       Err      error
 }
 
 // Allows a storage backend to override hashing (i.e. if it can do it more efficiently than the torrent client can)