MCPcopy Index your code
hub / github.com/perkeep/perkeep / ExistingFileSchemas

Method ExistingFileSchemas

pkg/index/interface.go:99–99  ·  view source on GitHub ↗

ExistingFileSchemas returns 0 or more blobrefs of "bytes" (TODO(bradfitz): or file?) schema blobs that represent the bytes of a file given in bytesRef. The file schema blobs returned are not guaranteed to reference chunks that still exist on the blobservers, though. It's purely a hint for clients

(wholeFileRef ...blob.Ref)

Source from the content-addressed store, hash-verified

97 // can be validated (with a validating HEAD request) to still
98 // all exist on the blob server.
99 ExistingFileSchemas(wholeFileRef ...blob.Ref) (schemaRefs WholeRefToFile, err error)
100
101 // GetDirMembers sends on dest the children of the static
102 // directory dirRef. It returns os.ErrNotExist if dirRef

Callers 2

serveFilesMethod · 0.65
FilesFunction · 0.65

Implementers 1

Indexpkg/index/index.go

Calls

no outgoing calls

Tested by

no test coverage detected