MCPcopy
hub / github.com/perkeep/perkeep / EnumerateBlobs

Method EnumerateBlobs

pkg/blobserver/interface.go:85–85  ·  view source on GitHub ↗

EnumerateBobs sends at most limit SizedBlobRef into dest, sorted, as long as they are lexigraphically greater than after (if provided). limit will be supplied and sanity checked by caller. EnumerateBlobs must close the channel. (even if limit was hit and more blobs remain, or an error is returned,

(ctx context.Context,
		dest chan<- blob.SizedRef,
		after string,
		limit int)

Source from the content-addressed store, hash-verified

83 // was hit and more blobs remain, or an error is returned, or
84 // the ctx is canceled)
85 EnumerateBlobs(ctx context.Context,
86 dest chan<- blob.SizedRef,
87 after string,
88 limit int) error

Callers 13

EnumerateBlobsMethod · 0.65
EnumerateAllFromFunction · 0.65
mergedEnumerateFunction · 0.65
TestEnumerateFunction · 0.65
TestEnumerateEmptyFunction · 0.65
TestEnumerateIsSortedFunction · 0.65
CheckEnumerateFunction · 0.65
EnumerateBlobsMethod · 0.65
handleEnumerateBlobsFunction · 0.65
EnumerateBlobsMethod · 0.65
TestEncryptFunction · 0.65
anyZipPacksMethod · 0.65

Implementers 15

Clientpkg/client/client.go
testEnumpkg/blobserver/mergedenum_test.go
NoImplStoragepkg/blobserver/noimpl.go
remoteStoragepkg/blobserver/remote/remote.go
storagepkg/blobserver/diskpacked/diskpacked.g
nstopkg/blobserver/namespace/ns.go
Storagepkg/blobserver/files/files.go
unionStoragepkg/blobserver/union/union.go
azureStoragepkg/blobserver/azure/azure.go
mongoStoragepkg/blobserver/mongo/mongo.go
Storagepkg/blobserver/memory/mem.go
replicaStoragepkg/blobserver/replica/replica.go

Calls

no outgoing calls

Tested by 4

TestEnumerateFunction · 0.52
TestEnumerateEmptyFunction · 0.52
TestEnumerateIsSortedFunction · 0.52
TestEncryptFunction · 0.52