Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6042
func
cloneIntPtr(value *int) *int {
6043
if
value == nil {
6044
return
nil
6045
}
6046
cloned := *value
6047
return
&cloned
6048
}
6049
6050
func
cloneBoolPtr(value *bool) *bool {
6051
if
value == nil {
Callers
2
spec
Method · 0.70
patch
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected