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

Method GetModuleForOpaqueID

private/bufpkg/bufmodule/module_set.go:331–333  ·  view source on GitHub ↗
(opaqueID string)

Source from the content-addressed store, hash-verified

329}
330
331func (m *moduleSet) GetModuleForOpaqueID(opaqueID string) Module {
332 return m.opaqueIDToModule[opaqueID]
333}
334
335func (m *moduleSet) GetModuleForBucketID(bucketID string) Module {
336 return m.bucketIDToModule[bucketID]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected