Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/perkeep/perkeep
/ ValidRefString
Function
ValidRefString
pkg/blob/ref.go:738–741 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
736
}
737
738
func
ValidRefString(s string) bool {
739
// TODO: optimize to not allocate
740
return
ParseOrZero(s).Valid()
741
}
742
743
var
null = []byte(`null`)
744
Callers
2
wantsPermanode
Function · 0.92
wantsBlobInfo
Function · 0.92
Calls
2
ParseOrZero
Function · 0.85
Valid
Method · 0.45
Tested by
no test coverage detected