MCPcopy Index your code
hub / github.com/tinylib/msgp / Copy

Method Copy

gen/elem.go:335–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333}
334
335func (a *Array) Copy() Elem {
336 b := *a
337 b.Els = a.Els.Copy()
338 return &b
339}
340
341func (a *Array) Complexity() int {
342 // We consider the complexity constant and leave the children to decide on their own.

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.65

Tested by

no test coverage detected