MCPcopy Create free account
hub / github.com/coder/envbox / FakeExec

Struct FakeExec

xunix/xunixfake/exec.go:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15var _ xunix.Execer = &FakeExec{}
16
17type FakeExec struct {
18 Commands map[string]*FakeCmd
19 DefaultFakeCmd *FakeCmd
20}
21
22func cmdKey(cmd string, args ...string) string {
23 return cmd + " " + strings.Join(args, " ")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected