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

Function containsControlCharacter

internal/network/validate.go:1042–1046  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

1040}
1041
1042func containsControlCharacter(value string) bool {
1043 return strings.ContainsFunc(value, func(r rune) bool {
1044 return r < 0x20 || r == 0x7f
1045 })
1046}
1047
1048func normalizeOptionalText(value *string) *string {
1049 if value == nil {

Callers 2

ValidateWorkspaceIDFunction · 0.70
ValidateConversationIDFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected