MCPcopy Index your code
hub / github.com/coder/mux / execWorkspace

Function execWorkspace

tests/runtime/runtime.test.ts:149–154  ·  view source on GitHub ↗
(
        runtime: Runtime,
        workspace: TestWorkspace,
        command: string,
        options: Partial<Parameters<typeof execBuffered>[2]> = {}
      )

Source from the content-addressed store, hash-verified

147 );
148
149 const execWorkspace = (
150 runtime: Runtime,
151 workspace: TestWorkspace,
152 command: string,
153 options: Partial<Parameters<typeof execBuffered>[2]> = {}
154 ) => execBuffered(runtime, command, { cwd: workspace.path, timeout: 30, ...options });
155
156 const withRuntimeWorkspace = async <T>(
157 run: (runtime: Runtime, workspace: TestWorkspace) => Promise<T>

Callers 1

runtime.test.tsFile · 0.85

Calls 1

execBufferedFunction · 0.90

Tested by

no test coverage detected