MCPcopy Create free account
hub / github.com/go-git/go-git / isNum

Function isNum

storage/filesystem/dotgit/dotgit.go:1232–1234  ·  view source on GitHub ↗
(b byte)

Source from the content-addressed store, hash-verified

1230}
1231
1232func isNum(b byte) bool {
1233 return b >= '0' && b <= '9'
1234}
1235
1236func isHexAlpha(b byte) bool {
1237 return b >= 'a' && b <= 'f' || b >= 'A' && b <= 'F'

Callers 1

isHexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected