]> Sergey Matveev's repositories - btrtrc.git/blobdiff - piecestate.go
Buffer metainfo loads from files
[btrtrc.git] / piecestate.go
index 7a2e71642ed82421b31eda01c3a66491bd71371b..089adca44051d1602a2be57eb4d949cc6ea6880b 100644 (file)
@@ -8,8 +8,14 @@ import (
 type PieceState struct {
        Priority piecePriority
        storage.Completion
-       // The piece is being hashed, or is queued for hash.
+       // The piece is being hashed, or is queued for hash. Deprecated: Use those fields instead.
        Checking bool
+
+       Hashing       bool
+       QueuedForHash bool
+       // The piece state is being marked in the storage.
+       Marking bool
+
        // Some of the piece has been obtained.
        Partial bool
 }