From 9e39d43aa34ef82d525edad27d881f8f5b840151 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 f8431678f09..5e81da97b28 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