MCPcopy Create free account
hub / github.com/pydio/cells / NewTreeDiff

Function NewTreeDiff

common/sync/merger/tree-diff.go:65–67  ·  view source on GitHub ↗

NewTreeDiff is public access for instantiating a new TreeDiff

(left model.PathSyncSource, right model.PathSyncSource)

Source from the content-addressed store, hash-verified

63
64// NewTreeDiff is public access for instantiating a new TreeDiff
65func NewTreeDiff(left model.PathSyncSource, right model.PathSyncSource) *TreeDiff {
66 return newTreeDiff(left, right)
67}
68
69// newTreeDiff instantiates a new TreeDiff - If left is a MetadataProvider and right a MetadataReceiver,
70// it will set up metadata diff management

Callers 1

Calls 1

newTreeDiffFunction · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…