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

Struct FakeCmd

xunix/xunixfake/exec.go:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50var _ xunix.Cmd = &FakeCmd{}
51
52type FakeCmd struct {
53 *testexec.FakeCmd
54 FakeProcess *os.Process
55 WaitFn func() error
56 Called bool
57}
58
59func (f *FakeCmd) Wait() error {
60 if f.WaitFn == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected