mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 20:07:45 +08:00
This commit improves (fixes) the FetchGraph call for recursively fetching every descendant node of a given merkledag node. This operation should be the simplest way of ensuring that you have replicated a dag locally. This commit also implements a method in the merkledag package called EnumerateChildren, this method is used to get a set of the keys of every descendant node of the given node. All keys found are noted in the passed in KeySet, which may in the future be implemented on disk to avoid excessive memory consumption. License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| corehttp | ||
| corenet | ||
| corerepo | ||
| corerouting | ||
| coreunix | ||
| mock | ||
| .gitignore | ||
| bootstrap_test.go | ||
| bootstrap.go | ||
| builder.go | ||
| core_test.go | ||
| core.go | ||
| pathresolver_test.go | ||
| pathresolver.go | ||