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

Function cloneRawMessagePtr

internal/api/core/tasks.go:3083–3089  ·  view source on GitHub ↗
(source *json.RawMessage)

Source from the content-addressed store, hash-verified

3081}
3082
3083func cloneRawMessagePtr(source *json.RawMessage) *json.RawMessage {
3084 if source == nil {
3085 return nil
3086 }
3087 copyValue := cloneRawMessage(*source)
3088 return &copyValue
3089}

Callers 2

taskPatchFromRequestFunction · 0.70

Calls 1

cloneRawMessageFunction · 0.70

Tested by 1