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

Function GetReadWriteBucketWithNoSearch

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

GetReadWriteBucketWithNoSearch says to not search for buf.work.yamls or buf.yamls, instead just returning a bucket for the direct SourceRef or DirRef given. This is used for when the --config flag is specified.

()

Source from the content-addressed store, hash-verified

381//
382// This is used for when the --config flag is specified.
383func GetReadWriteBucketWithNoSearch() GetReadWriteBucketOption {
384 return func(getReadWriteBucketOptions *getReadWriteBucketOptions) {
385 getReadWriteBucketOptions.noSearch = true
386 }
387}
388
389// GetReadWriteBucketWithTargetPaths sets the target paths for the bucket targeting information
390// returned with the bucket.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…