From b673c0db7da0f42039bc2f970f8fb98066fd91bd Mon Sep 17 00:00:00 2001 From: Iaroslav Gridin Date: Sat, 6 May 2017 13:29:05 +0300 Subject: [PATCH] Annotate Unpin parameters License: MIT Signed-off-by: Iaroslav Gridin --- pin/pin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pin/pin.go b/pin/pin.go index c0f7791b187..40a6e00d58d 100644 --- a/pin/pin.go +++ b/pin/pin.go @@ -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