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.
()
| 381 | // |
| 382 | // This is used for when the --config flag is specified. |
| 383 | func 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. |
no outgoing calls
no test coverage detected
searching dependent graphs…