Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ IsASCII
Function
IsASCII
tools/bash/security.go:406–415 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
404
}
405
406
func
IsASCII(s string) bool {
407
for
len(s) > 0 {
408
r, size := utf8.DecodeRuneInString(s)
409
if
r > 127 {
410
return
false
411
}
412
s = s[size:]
413
}
414
return
true
415
}
Callers
1
validateSingleSedExpression
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected