MCPcopy
hub / github.com/ha/doozerd / copyMap

Function copyMap

src/pkg/store/node.go:91–97  ·  view source on GitHub ↗
(a map[string]node)

Source from the content-addressed store, hash-verified

89
90
91func copyMap(a map[string]node) map[string]node {
92 b := make(map[string]node)
93 for k, v := range a {
94 b[k] = v
95 }
96 return b
97}
98
99// Return value is replacement node
100func (n node) set(parts []string, v string, rev int64, keep bool) (node, bool) {

Callers 1

setMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected