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

Function cmdKey

xunix/xunixfake/exec.go:22–24  ·  view source on GitHub ↗
(cmd string, args ...string)

Source from the content-addressed store, hash-verified

20}
21
22func cmdKey(cmd string, args ...string) string {
23 return cmd + " " + strings.Join(args, " ")
24}
25
26func (f *FakeExec) CommandContext(_ context.Context, cmd string, args ...string) xunix.Cmd {
27 // TODO: This isn't a great key because you may have multiple of the same commands

Callers 2

CommandContextMethod · 0.85
AddCommandsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected