MCPcopy
hub / github.com/perkeep/perkeep / init

Method init

pkg/blobserver/blobpacked/blobpacked.go:257–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255}
256
257func (s *storage) init() {
258 s.packGate = syncutil.NewGate(10)
259}
260
261func (s *storage) maxZipBlobSize() int {
262 if s.forceMaxZipBlobSize > 0 {

Callers 10

TestStorageFunction · 0.95
TestSmallFallbackFunction · 0.95
TestRemoveBlobsFunction · 0.95
TestPackerBoundarySplitsFunction · 0.95
TestStreamBlobsFunction · 0.95
testStreamBlobsFunction · 0.95
newFromConfigFunction · 0.95
testPackFunction · 0.80
browserevent.jsFile · 0.80

Calls

no outgoing calls

Tested by 8

TestStorageFunction · 0.76
TestSmallFallbackFunction · 0.76
TestRemoveBlobsFunction · 0.76
TestPackerBoundarySplitsFunction · 0.76
TestStreamBlobsFunction · 0.76
testStreamBlobsFunction · 0.76
testPackFunction · 0.64