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

Method GetModuleKey

private/buf/buffetch/reader.go:218–224  ·  view source on GitHub ↗
(
	ctx context.Context,
	container app.EnvStdinContainer,
	moduleRef ModuleRef,
)

Source from the content-addressed store, hash-verified

216}
217
218func (a *reader) GetModuleKey(
219 ctx context.Context,
220 container app.EnvStdinContainer,
221 moduleRef ModuleRef,
222) (bufmodule.ModuleKey, error) {
223 return a.internalReader.GetModuleKey(ctx, container, moduleRef.internalModuleRef())
224}

Callers

nothing calls this directly

Calls 2

GetModuleKeyMethod · 0.65
internalModuleRefMethod · 0.65

Tested by

no test coverage detected