explain what direct/indirect/recursive means
i couldn't understand what those meant. it was explain (at least partly) in #590 so let's share the goods!
anarcat committed
Mar 7, 2015 at 08:32 UTC
6a3578be840d997bf7566f6608592ffd1e037882
1 file changed
+5
-4
core/commands/pin.go
+5
-4
@@ -160,11 +160,12 @@ Returns a list of hashes of objects being pinned. Objects that are indirectly
160
or recursively pinned are not included in the list.
161
162
Use --type=<type> to specify the type of pinned keys to list. Valid values are:
163
- * "direct"
164
- * "indirect"
165
- * "recursive"
163
+ * "direct": pin that specific object.
164
+ * "recursive": pin that specific object, and indirectly pin all its decendants
165
+ * "indirect": pinned indirectly by an ancestor (like a refcount)
166
* "all"
167
-(Defaults to "direct")
167
+
168
+Defaults to "direct".
169
`,
170
},
171