MCPcopy
hub / github.com/perkeep/perkeep / EdgesTo

Method EdgesTo

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

EdgesTo finds references to the provided ref. For instance, if ref is a permanode, it might find the parent permanodes that have ref as a member. Or, if ref is a static file, it might find static directories which contain that file. This is a way to go "up" or "back" in a hierarchy. opts may be ni

(ref blob.Ref, opts *camtypes.EdgesToOpts)

Source from the content-addressed store, hash-verified

143 //
144 // opts may be nil to accept the defaults.
145 EdgesTo(ref blob.Ref, opts *camtypes.EdgesToOpts) ([]*camtypes.Edge, error)
146
147 // EnumerateBlobMeta calls fn for each blob known to the
148 // indexer (which may be a subset of all total blobs, since

Callers 2

EdgesToMethod · 0.65
EdgesToFunction · 0.65

Implementers 1

Indexpkg/index/index.go

Calls

no outgoing calls

Tested by

no test coverage detected