MCPcopy Create free account
hub / github.com/dotchain/dot / UpdateRef

Method UpdateRef

refs/container.go:33–40  ·  view source on GitHub ↗

UpdateRef updates a ref. If r is nil, the reference is deleted. All references should have "Value" as a prefix to the path.

(key interface{}, r Ref)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestUpdateMergeFunction · 0.95
TestUpdateRevertFunction · 0.95
TestContainerFunction · 0.95

Calls 1

ApplyMethod · 0.95

Tested by 3

TestUpdateMergeFunction · 0.76
TestUpdateRevertFunction · 0.76
TestContainerFunction · 0.76