MCPcopy
hub / github.com/perkeep/perkeep / DirReader

Struct DirReader

pkg/schema/dirreader.go:32–38  ·  view source on GitHub ↗

A DirReader reads the entries of a "directory" schema blob's referenced "static-set" blob.

Source from the content-addressed store, hash-verified

30// A DirReader reads the entries of a "directory" schema blob's
31// referenced "static-set" blob.
32type DirReader struct {
33 fetcher blob.Fetcher
34 ss *superset
35
36 staticSet []blob.Ref
37 current int
38}
39
40// NewDirReader creates a new directory reader and prepares to
41// fetch the static-set entries

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected