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

Function cloneStringPtr

internal/daemon/native_tools.go:6021–6027  ·  view source on GitHub ↗
(value *string)

Source from the content-addressed store, hash-verified

6019}
6020
6021func cloneStringPtr(value *string) *string {
6022 if value == nil {
6023 return nil
6024 }
6025 cloned := strings.TrimSpace(*value)
6026 return &cloned
6027}
6028
6029func cloneTrimmedStrings(values []string) []string {
6030 if len(values) == 0 {

Callers 1

patchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected