MCPcopy
hub / github.com/perkeep/perkeep / SearchPermanodesWithAttr

Method SearchPermanodesWithAttr

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

SearchPermanodes finds permanodes matching the provided request and sends unique permanode blobrefs to dest. In particular, if request.FuzzyMatch is true, a fulltext search is performed (if supported by the attribute(s)) instead of an exact match search. If request.Query is blank, the permanodes whi

(ctx context.Context, dest chan<- blob.Ref,
		request *camtypes.PermanodeByAttrRequest)

Source from the content-addressed store, hash-verified

77 //
78 // dest is always closed, regardless of the error return value.
79 SearchPermanodesWithAttr(ctx context.Context, dest chan<- blob.Ref,
80 request *camtypes.PermanodeByAttrRequest) error
81
82 // ExistingFileSchemas returns 0 or more blobrefs of "bytes"

Callers 3

GetPermanodesWithAttrMethod · 0.65
IndexFunction · 0.65
DeleteFunction · 0.65

Implementers 1

Indexpkg/index/index.go

Calls

no outgoing calls

Tested by

no test coverage detected