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

Function WithExcludeSourceCodeInfo

private/bufpkg/bufimage/bufimage.go:295–299  ·  view source on GitHub ↗

WithExcludeSourceCodeInfo returns a new BuildImageOption that excludes sourceCodeInfo.

()

Source from the content-addressed store, hash-verified

293
294// WithExcludeSourceCodeInfo returns a new BuildImageOption that excludes sourceCodeInfo.
295func WithExcludeSourceCodeInfo() BuildImageOption {
296 return func(buildImageOptions *buildImageOptions) {
297 buildImageOptions.excludeSourceCodeInfo = true
298 }
299}
300
301// WithNoParallelism turns off parallelism for a build.
302//

Callers 15

runFunction · 0.92
testBuildFunction · 0.92
BenchmarkBuildImageFunction · 0.92
TestTypesFunction · 0.92
TestNestingFunction · 0.92
TestOptionImportsFunction · 0.92
TestPackagesFunction · 0.92
TestVersionedPackagesFunction · 0.92
TestTransitivePublicFunction · 0.92
TestTypesFromMainModuleFunction · 0.92
runDiffTestFunction · 0.92

Calls

no outgoing calls

Tested by 14

testBuildFunction · 0.74
BenchmarkBuildImageFunction · 0.74
TestTypesFunction · 0.74
TestNestingFunction · 0.74
TestOptionImportsFunction · 0.74
TestPackagesFunction · 0.74
TestVersionedPackagesFunction · 0.74
TestTransitivePublicFunction · 0.74
TestTypesFromMainModuleFunction · 0.74
runDiffTestFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…