Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
509
func
(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
516
func
TestAPI(t *testing.T) {
517
t.Parallel()
Callers
1
TestAPI
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected