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

Method toString

env.go:248–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248func (c Command) toString() string {
249 var a []string
250 if c.Cmd != "" {
251 a = append(a, c.Cmd)
252 }
253 return fmt.Sprint(append(a, c.Args...))
254}
255
256func (c Command) exec(ctx context.Context) *exec.Cmd {
257 return exec.CommandContext(ctx, c.Cmd, c.Args...)

Callers 1

execContextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected