Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
335
func
(a *Array) Copy() Elem {
336
b := *a
337
b.Els = a.Els.Copy()
338
return
&b
339
}
340
341
func
(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
Copy
Method · 0.65
Tested by
no test coverage detected