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

Function nestedPath

internal/task/validate.go:1334–1344  ·  view source on GitHub ↗
(path string, field string)

Source from the content-addressed store, hash-verified

1332}
1333
1334func nestedPath(path string, field string) string {
1335 trimmedPath := strings.TrimSpace(path)
1336 trimmedField := strings.TrimSpace(field)
1337 if trimmedPath == "" {
1338 return trimmedField
1339 }
1340 if trimmedField == "" {
1341 return trimmedPath
1342 }
1343 return trimmedPath + "." + trimmedField
1344}
1345
1346func sameActorIdentity(left ActorIdentity, right ActorIdentity) bool {
1347 return left.Kind.Normalize() == right.Kind.Normalize() &&

Callers 15

ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
validateLeaseRunTokenFunction · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70
ValidateMethod · 0.70

Calls

no outgoing calls

Tested by 1