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

Method Modules

private/bufpkg/bufmodule/module_set.go:321–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319}
320
321func (m *moduleSet) Modules() []Module {
322 c := make([]Module, len(m.modules))
323 copy(c, m.modules)
324 return c
325}
326
327func (m *moduleSet) GetModuleForFullName(moduleFullName bufparse.FullName) Module {
328 return m.moduleFullNameStringToModule[moduleFullName.String()]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected