Clarify the PieceCompletion.Set method bool argument
This commit is contained in:
parent
a82c76defb
commit
78e23734d4
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
type PieceCompletionGetSetter interface {
|
type PieceCompletionGetSetter interface {
|
||||||
Get(metainfo.PieceKey) (Completion, error)
|
Get(metainfo.PieceKey) (Completion, error)
|
||||||
Set(metainfo.PieceKey, bool) error
|
Set(_ metainfo.PieceKey, complete bool) error
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implementations track the completion of pieces. It must be concurrent-safe.
|
// Implementations track the completion of pieces. It must be concurrent-safe.
|
||||||
|
|
Loading…
Reference in New Issue