mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
InternalPins() is a pinset composed by: - Recursive pins CIDs - Direct pins CIDs - The empty node CID - A root CID pointing to all above (and any of the subbuckets that may have been created) It is only set during Flush/Load operations for the pinner. Thus recursively exploring internal pins in order to decide which CIDs are safe from GC only re-explores the recursive DAGs and should not be necessary. Mind that, previously, the CidSet will correctly prune any already explored branches so it did not have pernicious effects. But now it does. License: MIT Signed-off-by: Hector Sanjuan <code@hector.link> |
||
|---|---|---|
| .. | ||
| gc | ||
| internal/pb | ||
| pin_test.go | ||
| pin.go | ||
| set_test.go | ||
| set.go | ||