MCPcopy
hub / github.com/perkeep/perkeep / AddBlob

Method AddBlob

pkg/test/fetcher.go:85–90  ·  view source on GitHub ↗
(b *Blob)

Source from the content-addressed store, hash-verified

83}
84
85func (tf *Fetcher) AddBlob(b *Blob) {
86 _, err := tf.ReceiveBlob(context.Background(), b.BlobRef(), b.Reader())
87 if err != nil {
88 panic(err)
89 }
90}

Callers 15

testReadDirFunction · 0.95
addBlobMethod · 0.80
TestArchiverFunction · 0.80
TestArchiverStressFunction · 0.80
initFunction · 0.80
TestInitNeededMapsFunction · 0.80
testOutOfOrderIndexingFunction · 0.80
TestFixMissingWholerefFunction · 0.80
UploadStringMethod · 0.80
UploadFileMethod · 0.80
UploadDirMethod · 0.80
NewIndexDepsFunction · 0.80

Implementers 15

Clientpkg/client/client.go
serialFetcherpkg/blob/fetcher.go
DirFetcherpkg/blob/fetcher.go
CachingFetcherpkg/cacher/cacher.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

Calls 3

ReceiveBlobMethod · 0.95
ReaderMethod · 0.80
BlobRefMethod · 0.65

Tested by 11

testReadDirFunction · 0.76
addBlobMethod · 0.64
TestArchiverFunction · 0.64
TestArchiverStressFunction · 0.64
initFunction · 0.64
TestInitNeededMapsFunction · 0.64
testOutOfOrderIndexingFunction · 0.64
TestFixMissingWholerefFunction · 0.64
initFunction · 0.64
filePartFunction · 0.64