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

Function WithFileAnnotationErrorFormat

private/buf/bufctl/option.go:32–36  ·  view source on GitHub ↗

WithFileAnnotationErrorFormat returns a new ControllerOption that sets the FileAnnotation format.

(fileAnnotationErrorFormat string)

Source from the content-addressed store, hash-verified

30
31// WithFileAnnotationErrorFormat returns a new ControllerOption that sets the FileAnnotation format.
32func WithFileAnnotationErrorFormat(fileAnnotationErrorFormat string) ControllerOption {
33 return func(controller *controller) {
34 controller.fileAnnotationErrorFormat = fileAnnotationErrorFormat
35 }
36}
37
38// WithFileAnnotationsToStdout returns a new ControllerOption that sends FileAnnotations to stdout
39func WithFileAnnotationsToStdout() ControllerOption {

Callers 9

runFunction · 0.92
getBuildableWorkspaceFunction · 0.92
runFunction · 0.92
runFunction · 0.92
runFunction · 0.92
runFunction · 0.92
runFunction · 0.92
runFunction · 0.92
handleFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…