MCPcopy
hub / github.com/perkeep/perkeep / File

Interface File

pkg/schema/schema.go:84–89  ·  view source on GitHub ↗

File is the interface returned when opening a DirectoryEntry that is a regular file.

Source from the content-addressed store, hash-verified

82// File is the interface returned when opening a DirectoryEntry that
83// is a regular file.
84type File interface {
85 io.Closer
86 io.ReaderAt
87 io.Reader
88 Size() int64
89}
90
91// Directory is a read-only interface to a "directory" schema blob.
92type Directory interface {

Callers 8

ReceiveBlobMethod · 0.65
FetchMethod · 0.65
RefFromHashFunction · 0.65
RunMethod · 0.65
tbSizeFunction · 0.65
verifySizeAndHashFunction · 0.65
TestDoubleReceiveFunction · 0.65

Implementers 4

Blobpkg/blob/blob.go
Blobpkg/test/blob.go
fakeFilepkg/test/integration/upload_test.go
BlobSnifferpkg/index/sniff.go

Calls

no outgoing calls

Tested by

no test coverage detected