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

Function LocalModuleWithFullName

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

LocalModuleWithFullName returns a new LocalModuleOption that adds the given FullName to the result Module. Use LocalModuleWithFullNameAndCommitID if you'd also like to add a CommitID.

(moduleFullName bufparse.FullName)

Source from the content-addressed store, hash-verified

162//
163// Use LocalModuleWithFullNameAndCommitID if you'd also like to add a CommitID.
164func LocalModuleWithFullName(moduleFullName bufparse.FullName) LocalModuleOption {
165 return func(localModuleOptions *localModuleOptions) {
166 localModuleOptions.moduleFullName = moduleFullName
167 }
168}
169
170// LocalModuleWithFullNameAndCommitID returns a new LocalModuleOption that adds the given FullName and CommitID
171// to the result Module.

Calls

no outgoing calls

Tested by 1

TestBasicFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…