MCPcopy Index your code
hub / github.com/coder/envbox / Execer

Function Execer

cli/clitest/cli.go:19–22  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

17)
18
19func Execer(ctx context.Context) *xunixfake.FakeExec {
20 //nolint we should panic if this isn't the case.
21 return xunix.GetExecer(ctx).(*xunixfake.FakeExec)
22}
23
24func FS(ctx context.Context) *xunixfake.MemFS {
25 //nolint we should panic if this isn't the case.

Callers 1

TestDockerFunction · 0.92

Calls 1

GetExecerFunction · 0.92

Tested by 1

TestDockerFunction · 0.74