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

Function cloneInt64Ptr

internal/workspace/clone.go:239–245  ·  view source on GitHub ↗
(src *int64)

Source from the content-addressed store, hash-verified

237}
238
239func cloneInt64Ptr(src *int64) *int64 {
240 if src == nil {
241 return nil
242 }
243 value := *src
244 return &value
245}
246
247func cloneFloat64Ptr(src *float64) *float64 {
248 if src == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected