MCPcopy Create free account
hub / github.com/compozy/agh / cloneSurfacePtr

Function cloneSurfacePtr

internal/api/core/network.go:824–830  ·  view source on GitHub ↗
(value *network.Surface)

Source from the content-addressed store, hash-verified

822}
823
824func cloneSurfacePtr(value *network.Surface) *string {
825 if value == nil {
826 return nil
827 }
828 copyValue := strings.TrimSpace(string(*value))
829 return &copyValue
830}
831
832func cloneStringPtr(value *string) *string {
833 if value == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected