Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
85
func
(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
testReadDir
Function · 0.95
addBlob
Method · 0.80
TestArchiver
Function · 0.80
TestArchiverStress
Function · 0.80
init
Function · 0.80
TestInitNeededMaps
Function · 0.80
testOutOfOrderIndexing
Function · 0.80
TestFixMissingWholeref
Function · 0.80
UploadString
Method · 0.80
UploadFile
Method · 0.80
UploadDir
Method · 0.80
NewIndexDeps
Function · 0.80
Implementers
15
Client
pkg/client/client.go
serialFetcher
pkg/blob/fetcher.go
DirFetcher
pkg/blob/fetcher.go
CachingFetcher
pkg/cacher/cacher.go
NoImplStorage
pkg/blobserver/noimpl.go
remoteStorage
pkg/blobserver/remote/remote.go
storage
pkg/blobserver/diskpacked/diskpacked.g
nsto
pkg/blobserver/namespace/ns.go
Storage
pkg/blobserver/files/files.go
unionStorage
pkg/blobserver/union/union.go
azureStorage
pkg/blobserver/azure/azure.go
mongoStorage
pkg/blobserver/mongo/mongo.go
Calls
3
ReceiveBlob
Method · 0.95
Reader
Method · 0.80
BlobRef
Method · 0.65
Tested by
11
testReadDir
Function · 0.76
addBlob
Method · 0.64
TestArchiver
Function · 0.64
TestArchiverStress
Function · 0.64
init
Function · 0.64
TestInitNeededMaps
Function · 0.64
testOutOfOrderIndexing
Function · 0.64
TestFixMissingWholeref
Function · 0.64
init
Function · 0.64
filePart
Function · 0.64
TestForeachChunkAllSchemaBlobs
Function · 0.64