Skip to content

Commit

Permalink
Annotate Unpin parameters
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Iaroslav Gridin <voker57@gmail.com>
  • Loading branch information
Voker57 committed Sep 22, 2017
1 parent 3954288 commit 9e39d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pin/pin.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Pinner interface {
IsPinned(*cid.Cid) (string, bool, error)
IsPinnedWithType(*cid.Cid, PinMode) (string, bool, error)
Pin(context.Context, node.Node, bool) error
Unpin(context.Context, *cid.Cid, bool, bool) error
Unpin(ctx context.Context, c *cid.Cid, recursive bool, explain bool) error

// Update updates a recursive pin from one cid to another
// this is more efficient than simply pinning the new one and unpinning the
Expand Down

0 comments on commit 9e39d43

Please sign in to comment.