MCPcopy Index your code
hub / github.com/TomWright/dasel / Copy

Method Copy

execution/func.go:170–176  ·  view source on GitHub ↗

Copy returns a copy of the FuncCollection.

()

Source from the content-addressed store, hash-verified

168
169// Copy returns a copy of the FuncCollection.
170func (fc FuncCollection) Copy() FuncCollection {
171 c := NewFuncCollection()
172 for k, v := range fc {
173 c[k] = v
174 }
175 return c
176}

Callers 2

TestOptionsFunction · 0.45
TestFuncCollectionFunction · 0.45

Calls 1

NewFuncCollectionFunction · 0.85

Tested by 2

TestOptionsFunction · 0.36
TestFuncCollectionFunction · 0.36