MCPcopy Index your code
hub / github.com/docker/docker-agent / newCommandOutput

Function newCommandOutput

pkg/tools/builtin/shell/shell.go:121–124  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

119}
120
121func newCommandOutput(ctx context.Context) *commandOutput {
122 emit, _ := tools.ToolOutputEmitterFromContext(ctx)
123 return &commandOutput{emit: emit}
124}
125
126func (o *commandOutput) Write(p []byte) (int, error) {
127 o.mu.Lock()

Callers 2

runNativeCommandMethod · 0.85
executeMethod · 0.85

Calls 1

Tested by

no test coverage detected