Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
interface-go-dms3-core
Commits
c908a059
Commit
c908a059
authored
Mar 29, 2019
by
Edgar Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Pin.RmRecursive docs to clarify shared indirect pins are not removed
parent
9ebc1123
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
options/pin.go
options/pin.go
+3
-1
No files found.
options/pin.go
View file @
c908a059
...
@@ -127,7 +127,9 @@ func (pinOpts) Recursive(recursive bool) PinAddOption {
...
@@ -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
{
func
(
pinOpts
)
RmRecursive
(
recursive
bool
)
PinRmOption
{
return
func
(
settings
*
PinRmSettings
)
error
{
return
func
(
settings
*
PinRmSettings
)
error
{
settings
.
Recursive
=
recursive
settings
.
Recursive
=
recursive
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment