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

Function trimStringPtr

internal/api/core/tasks.go:3051–3057  ·  view source on GitHub ↗
(source *string)

Source from the content-addressed store, hash-verified

3049}
3050
3051func trimStringPtr(source *string) *string {
3052 if source == nil {
3053 return nil
3054 }
3055 trimmed := strings.TrimSpace(*source)
3056 return &trimmed
3057}
3058
3059func normalizePriorityPtr(source *taskpkg.Priority) *taskpkg.Priority {
3060 if source == nil {

Callers 1

taskPatchFromRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected