Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1232
func
isNum(b byte) bool {
1233
return
b >=
'0'
&& b <=
'9'
1234
}
1235
1236
func
isHexAlpha(b byte) bool {
1237
return
b >=
'a'
&& b <=
'f'
|| b >=
'A'
&& b <=
'F'
Callers
1
isHex
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected