From: Matt Joiner Date: Thu, 11 Jan 2018 11:10:52 +0000 (+1100) Subject: Clarify the PieceCompletion.Set method bool argument X-Git-Tag: v1.0.0~282 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=78e23734d40ae65ac70690acf1c097c2c5bf5339;p=btrtrc.git Clarify the PieceCompletion.Set method bool argument --- diff --git a/storage/completion.go b/storage/completion.go index 3d2e4d77..383a1d92 100644 --- a/storage/completion.go +++ b/storage/completion.go @@ -8,7 +8,7 @@ import ( type PieceCompletionGetSetter interface { 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.