Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/perkeep/perkeep
/ Valid
Method
Valid
pkg/blob/ref.go:55–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
func
(sr SizedRef) Valid() bool {
return
sr.Ref.Valid() }
56
57
func
(sr SizedRef) HashMatches(h hash.Hash) bool {
return
sr.Ref.HashMatches(h) }
58
Callers
1
TestJSONUnmarshalSized
Function · 0.95
Calls
1
Valid
Method · 0.45
Tested by
1
TestJSONUnmarshalSized
Function · 0.76