MCPcopy
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
535func (s *Ptr) Copy() Elem {
536 v := *s
537 v.Value = s.Value.Copy()
538 return &v
539}
540
541func (s *Ptr) Complexity() int { return 1 + s.Value.Complexity() }
542

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.65

Tested by

no test coverage detected