mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#26 from hinshun/pin-rm-docs
Update Pin.RmRecursive docs to clarify shared indirect pins are not removed This commit was moved from ipfs/interface-go-ipfs-core@c140b0fa38 This commit was moved from ipfs/boxo@25b9995074
This commit is contained in:
commit
6f77341fd6
@ -127,7 +127,9 @@ func (pinOpts) Recursive(recursive bool) PinAddOption {
|
||||
}
|
||||
}
|
||||
|
||||
// RmRecursive is an option for Pin.Rm
|
||||
// RmRecursive is an option for Pin.Rm which specifies whether to recursively
|
||||
// unpin the object linked to by the specified object(s). This does not remove
|
||||
// indirect pins referenced by other recursive pins.
|
||||
func (pinOpts) RmRecursive(recursive bool) PinRmOption {
|
||||
return func(settings *PinRmSettings) error {
|
||||
settings.Recursive = recursive
|
||||
|
||||
Loading…
Reference in New Issue
Block a user