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

Method EnumerateBlobMeta

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

EnumerateBlobMeta calls fn for each blob known to the indexer (which may be a subset of all total blobs, since the indexer is typically configured to not see non-metadata blobs). The blobs may be sent in any order. If the context finishes, the return error is ctx.Err(). If the provided function ret

(context.Context, func(camtypes.BlobMeta) bool)

Source from the content-addressed store, hash-verified

152 // If the provided function returns false, iteration ends with a nil
153 // return value.
154 EnumerateBlobMeta(context.Context, func(camtypes.BlobMeta) bool) error
155}

Callers 3

pickCandidateSourceMethod · 0.65
EnumerateBlobMetaMethod · 0.65
enumerateMetaFunction · 0.65

Implementers 1

Indexpkg/index/index.go

Calls

no outgoing calls

Tested by 1

enumerateMetaFunction · 0.52