MCPcopy Index your code
hub / github.com/devcontainers/cli / createWorkspace

Function createWorkspace

src/test/workspaceConfiguration.test.ts:55–62  ·  view source on GitHub ↗
(rootFolderPath: string, configFolderPath?: string)

Source from the content-addressed store, hash-verified

53}
54
55function createWorkspace(rootFolderPath: string, configFolderPath?: string): Workspace {
56 return {
57 isWorkspaceFile: false,
58 workspaceOrFolderPath: rootFolderPath,
59 rootFolderPath,
60 configFolderPath: configFolderPath || rootFolderPath,
61 };
62}
63
64type TestPlatform = 'linux' | 'darwin' | 'win32';
65const platforms: TestPlatform[] = ['linux', 'darwin', 'win32'];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected