MCPcopy Index your code
hub / github.com/coder/coder / getLastCommand

Method getLastCommand

agent/agentcontainers/api_test.go:509–514  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

507}
508
509func (f *fakeExecer) getLastCommand() *exec.Cmd {
510 if len(f.createdCommands) == 0 {
511 return nil
512 }
513 return f.createdCommands[len(f.createdCommands)-1]
514}
515
516func TestAPI(t *testing.T) {
517 t.Parallel()

Callers 1

TestAPIFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected