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

Function cloneIntPtr

internal/daemon/native_tools.go:6042–6048  ·  view source on GitHub ↗
(value *int)

Source from the content-addressed store, hash-verified

6040}
6041
6042func cloneIntPtr(value *int) *int {
6043 if value == nil {
6044 return nil
6045 }
6046 cloned := *value
6047 return &cloned
6048}
6049
6050func cloneBoolPtr(value *bool) *bool {
6051 if value == nil {

Callers 2

specMethod · 0.70
patchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected