MCPcopy
hub / github.com/coder/mux / createRuntimeForWorkspace

Function createRuntimeForWorkspace

src/node/runtime/runtimeHelpers.ts:155–161  ·  view source on GitHub ↗
(metadata: WorkspaceMetadataForRuntime)

Source from the content-addressed store, hash-verified

153 * workspace root instead of reconstructing it from canonical naming conventions.
154 */
155export function createRuntimeForWorkspace(metadata: WorkspaceMetadataForRuntime): Runtime {
156 return createRuntime(metadata.runtimeConfig, {
157 projectPath: metadata.projectPath,
158 workspaceName: metadata.name,
159 workspacePath: metadata.namedWorkspacePath,
160 });
161}

Callers 15

createMethod · 0.90
constructorMethod · 0.90
generateMethod · 0.90
createManyMethod · 0.90
createMethod · 0.90

Calls 1

createRuntimeFunction · 0.90

Tested by

no test coverage detected