MCPcopy Create free account
hub / github.com/bufbuild/buf / WithNoParallelism

Function WithNoParallelism

private/bufpkg/bufimage/bufimage.go:306–310  ·  view source on GitHub ↗

WithNoParallelism turns off parallelism for a build. The default is to use thread.Parallelism(). Used for testing.

()

Source from the content-addressed store, hash-verified

304//
305// Used for testing.
306func WithNoParallelism() BuildImageOption {
307 return func(buildImageOptions *buildImageOptions) {
308 buildImageOptions.noParallelism = true
309 }
310}
311
312// CloneImage returns a deep copy of the given image.
313func CloneImage(image Image) (Image, error) {

Callers 2

testBuildFunction · 0.92
BenchmarkBuildImageFunction · 0.92

Calls

no outgoing calls

Tested by 2

testBuildFunction · 0.74
BenchmarkBuildImageFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…