MCPcopy
hub / github.com/perkeep/perkeep / SimpleEnumerateBlobs

Method SimpleEnumerateBlobs

pkg/client/enumerate.go:39–41  ·  view source on GitHub ↗

SimpleEnumerateBlobs sends all blobs to the provided channel. The channel will be closed, regardless of whether an error is returned.

(ctx context.Context, ch chan<- blob.SizedRef)

Source from the content-addressed store, hash-verified

37// SimpleEnumerateBlobs sends all blobs to the provided channel.
38// The channel will be closed, regardless of whether an error is returned.
39func (c *Client) SimpleEnumerateBlobs(ctx context.Context, ch chan<- blob.SizedRef) error {
40 return c.EnumerateBlobsOpts(ctx, ch, EnumerateOpts{})
41}
42
43func (c *Client) EnumerateBlobs(ctx context.Context, dest chan<- blob.SizedRef, after string, limit int) error {
44 if c.sto != nil {

Callers 1

enumerateAllBlobsFunction · 0.80

Calls 1

EnumerateBlobsOptsMethod · 0.95

Tested by

no test coverage detected