MCPcopy Create free account
hub / github.com/efficientgo/e2e / execContext

Method execContext

env_docker.go:727–733  ·  view source on GitHub ↗
(ctx context.Context, cmd string, args ...string)

Source from the content-addressed store, hash-verified

725}
726
727func (e *DockerEnvironment) execContext(ctx context.Context, cmd string, args ...string) *exec.Cmd {
728 c := NewCommand(cmd, args...)
729 if e.verbose {
730 e.logger.Log("dockerEnv:", c.toString())
731 }
732 return c.exec(ctx)
733}
734
735func (e *DockerEnvironment) close() {
736 if e == nil || e.closed {

Callers 3

execMethod · 0.95
waitForRunningMethod · 0.80
prePullImageMethod · 0.80

Calls 4

toStringMethod · 0.95
execMethod · 0.95
NewCommandFunction · 0.85
LogMethod · 0.65

Tested by

no test coverage detected