Clarify the PieceCompletion.Set method bool argument

This commit is contained in:
Matt Joiner 2018-01-11 22:10:52 +11:00
parent a82c76defb
commit 78e23734d4
1 changed files with 1 additions and 1 deletions

View File

@ -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.