package
0.0.0-20190101045657-ce948763b909
Repository: https://github.com/ether1project/go-ipfs.git
Documentation: pkg.go.dev

# Functions

ApplyChange applies the requested changes to the given node in the given dag.
Diff returns a set of changes that transform node 'a' into node 'b'.
DiffEnumerate fetches every object in the graph pointed to by 'to' that is not in 'from'.
MergeDiffs takes two slice of changes and adds them to a single slice.
NewDagEditor returns an ProtoNode editor.
NewMemoryDagService returns a new, thread-safe in-memory DAGService.

# Constants

These constants define the changes that can be applied to a DAG.
These constants define the changes that can be applied to a DAG.
These constants define the changes that can be applied to a DAG.

# Structs

Change represents a change to a DAG and contains a reference to the old and new CIDs.
Conflict represents two incompatible changes and is returned by MergeDiffs().
Editor represents a ProtoNode tree editor and provides methods to modify it.