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

Function cloneInt64Ptr

internal/api/core/network.go:853–859  ·  view source on GitHub ↗
(value *int64)

Source from the content-addressed store, hash-verified

851}
852
853func cloneInt64Ptr(value *int64) *int64 {
854 if value == nil {
855 return nil
856 }
857 copyValue := *value
858 return &copyValue
859}
860
861func cloneRawMessage(raw json.RawMessage) json.RawMessage {
862 if len(raw) == 0 {

Calls

no outgoing calls

Tested by

no test coverage detected