Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinylib/msgp
/ Copy
Method
Copy
gen/elem.go:535–539 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
533
}
534
535
func
(s *Ptr) Copy() Elem {
536
v := *s
537
v.Value = s.Value.Copy()
538
return
&v
539
}
540
541
func
(s *Ptr) Complexity() int {
return
1 + s.Value.Complexity() }
542
Callers
nothing calls this directly
Calls
1
Copy
Method · 0.65
Tested by
no test coverage detected