MCPcopy Index your code
hub / github.com/bufbuild/buf / Build

Method Build

private/bufpkg/bufmodule/module_set_builder.go:109–109  ·  view source on GitHub ↗

Build builds the Modules into a ModuleSet. Any errors from Add* calls will be returned here as well. For future consideration, `Build` can take ...buildOption. A use case for this would be for workspaces to have a unified/top-level README and/or LICENSE file. The workspace at build time can pass `

()

Source from the content-addressed store, hash-verified

107 // the module set. Then each module in the module set can refer to this through the module
108 // set as needed.
109 Build() (ModuleSet, error)
110
111 isModuleSetBuilder()
112}

Callers 15

wellKnownTypeImageFunction · 0.95
TestBasicFunction · 0.95
TestProtoFileTargetPathFunction · 0.95
newModuleSetFunction · 0.95
runFunction · 0.95
NewModuleSetForProtocFunction · 0.95
testFormatNoDiffFunction · 0.95
runFunction · 0.65

Implementers 1

moduleSetBuilderprivate/bufpkg/bufmodule/module_set_bu

Calls

no outgoing calls

Tested by 10

TestBasicFunction · 0.76
TestProtoFileTargetPathFunction · 0.76
testFormatNoDiffFunction · 0.76
testParseFlagsFunction · 0.52
TestCloneImageFunction · 0.52
TestBasicFunction · 0.52
testPlainPostHandlerFunction · 0.52