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

Function trimStringPtr

internal/extension/host_api_tasks.go:1527–1533  ·  view source on GitHub ↗
(source *string)

Source from the content-addressed store, hash-verified

1525}
1526
1527func trimStringPtr(source *string) *string {
1528 if source == nil {
1529 return nil
1530 }
1531 value := strings.TrimSpace(*source)
1532 return &value
1533}
1534
1535func normalizePriorityPtr(source *taskpkg.Priority) *taskpkg.Priority {
1536 if source == nil {

Callers 1

taskPatchFromRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected