MCPcopy Create free account
hub / github.com/Shopify/goose / NewBuilder

Function NewBuilder

shell/shell.go:32–39  ·  view source on GitHub ↗
(ctx context.Context, path string, args ...string)

Source from the content-addressed store, hash-verified

30}
31
32func NewBuilder(ctx context.Context, path string, args ...string) Builder {
33 w := &wrapper{
34 path: path,
35 args: args,
36 }
37 w.ctx = logger.WithLoggable(ctx, w)
38 return w
39}
40
41type wrapper struct {
42 args []string

Callers 6

NewDefaultBuilderFunction · 0.85
ExampleBuilder_WithEnvFunction · 0.85
TestCommandForceKillsFunction · 0.85

Calls 1

WithLoggableFunction · 0.92

Tested by 5

ExampleBuilder_WithEnvFunction · 0.68
TestCommandForceKillsFunction · 0.68