mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-12 19:57:55 +08:00
Update Pin.RmRecursive docs to clarify shared indirect pins are not removed
This commit was moved from ipfs/interface-go-ipfs-core@c908a059fe This commit was moved from ipfs/boxo@ea26ae5e05
This commit is contained in:
parent
2817364035
commit
686f55459c
@ -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