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

Method GetSourceReadBucketCloser

private/buf/buffetch/buffetch.go:320–320  ·  view source on GitHub ↗

GetSourceReadBucketCloser gets the source bucket.

(
		ctx context.Context,
		container app.EnvStdinContainer,
		sourceRef SourceRef,
		options ...GetReadBucketCloserOption,
	)

Source from the content-addressed store, hash-verified

318type SourceReader interface {
319 // GetSourceReadBucketCloser gets the source bucket.
320 GetSourceReadBucketCloser(
321 ctx context.Context,
322 container app.EnvStdinContainer,
323 sourceRef SourceRef,

Callers 2

Implementers 1

readerprivate/buf/buffetch/reader.go

Calls

no outgoing calls

Tested by

no test coverage detected