MCPcopy 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
738func ValidRefString(s string) bool {
739 // TODO: optimize to not allocate
740 return ParseOrZero(s).Valid()
741}
742
743var null = []byte(`null`)
744

Callers 2

wantsPermanodeFunction · 0.92
wantsBlobInfoFunction · 0.92

Calls 2

ParseOrZeroFunction · 0.85
ValidMethod · 0.45

Tested by

no test coverage detected