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

Method GetMessageFile

private/buf/buffetch/reader.go:138–144  ·  view source on GitHub ↗
(
	ctx context.Context,
	container app.EnvStdinContainer,
	messageRef MessageRef,
)

Source from the content-addressed store, hash-verified

136}
137
138func (a *reader) GetMessageFile(
139 ctx context.Context,
140 container app.EnvStdinContainer,
141 messageRef MessageRef,
142) (io.ReadCloser, error) {
143 return a.internalReader.GetFile(ctx, container, messageRef.internalSingleRef())
144}
145
146func (a *reader) GetSourceReadBucketCloser(
147 ctx context.Context,

Callers

nothing calls this directly

Calls 2

GetFileMethod · 0.65
internalSingleRefMethod · 0.65

Tested by

no test coverage detected