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

Function normalizeOptionalIdentifier

internal/network/validate.go:1022–1032  ·  view source on GitHub ↗
(value *string)

Source from the content-addressed store, hash-verified

1020}
1021
1022func normalizeOptionalIdentifier(value *string) *string {
1023 if value == nil {
1024 return nil
1025 }
1026
1027 trimmed := strings.TrimSpace(*value)
1028 if trimmed == "" {
1029 return nil
1030 }
1031 return &trimmed
1032}
1033
1034func normalizeEnvelopeMentions(values []string) []string {
1035 normalized, err := store.NormalizeNetworkPeerIDs(values, "mentions")

Callers 8

buildEnvelopeMethod · 0.85
buildWorkReceiptFunction · 0.85
parseEnvelopeSummaryFunction · 0.85
normalizeEnvelopeCopyFunction · 0.85
cloneEnvelopeFunction · 0.85
prepareRuntimeSendMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected