MCPcopy
hub / github.com/perkeep/perkeep / Hash

Method Hash

pkg/schema/schema.go:79–79  ·  view source on GitHub ↗
(fileName string)

Source from the content-addressed store, hash-verified

77type StatHasher interface {
78 Lstat(fileName string) (os.FileInfo, error)
79 Hash(fileName string) (blob.Ref, error)
80}
81
82// File is the interface returned when opening a DirectoryEntry that

Callers 14

ValidContentsMethod · 0.65
receiveFunction · 0.65
testSizedBlobFunction · 0.65
ReceiveBlobMethod · 0.65
ReceiveBlobMethod · 0.65
FetchMethod · 0.65
TestReindexFunction · 0.65
testPackFunction · 0.65
TestForeachZipBlobFunction · 0.65
copyBlobMethod · 0.65
hourlyCompareMethod · 0.65
ServeFileMethod · 0.65

Implementers 1

defaultStatHasherpkg/schema/schema.go

Calls

no outgoing calls

Tested by 3

TestReindexFunction · 0.52
testPackFunction · 0.52
TestForeachZipBlobFunction · 0.52