Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/perkeep/perkeep
/ Valid
Method
Valid
pkg/blob/ref.go:196–196 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
194
const
hexDigit =
"0123456789abcdef"
195
196
func
(r Ref) Valid() bool {
return
r.digest != nil }
197
198
func
(r Ref) IsSupported() bool {
199
if
!r.Valid() {
Callers
15
DomID
Method · 0.95
IsSupported
Method · 0.95
MarshalJSON
Method · 0.95
Less
Method · 0.95
match
Method · 0.95
mergedEnumerate
Function · 0.95
CheckEnumerate
Function · 0.95
StreamBlobs
Method · 0.95
parseStatResponse
Function · 0.45
StatBlobs
Method · 0.45
UploadFile
Method · 0.45
fileMapFromDuplicate
Method · 0.45
Calls
no outgoing calls
Tested by
7
TestParse
Function · 0.36
TestEquality
Function · 0.36
TestJSONUnmarshal
Function · 0.36
TestBlobFromURLPath
Function · 0.36
testOutOfOrderIndexing
Function · 0.36
TestAsClaimAndAsShare
Function · 0.36
TestReaderForeachChunk
Function · 0.36