misc: Fix a few typos
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@646b14412abd5b2382fc11f37e40ef592c557fcb This commit was moved from ipfs/boxo@76ac2a8842d68a73acece177235ec746ca637793
Łukasz Magiera committed
Mar 19, 2018 at 03:41 UTC
7ffe2f640d3ee26d8aee1f418f1e7c805478fafb
1 file changed
+2
-2
core/coreiface/options/pin.go
+2
-2
@@ -95,9 +95,9 @@ func (pinType) Indirect() PinLsOption {
95
96
// Recursive is an option for Pin.Add which specifies whether to pin an entire
97
// object tree or just one object. Default: true
98
-func (pinOpts) Recursive(recucsive bool) PinAddOption {
98
+func (pinOpts) Recursive(recursive bool) PinAddOption {
99
return func(settings *PinAddSettings) error {
100
- settings.Recursive = recucsive
100
+ settings.Recursive = recursive
101
return nil
102
}
103
}