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

Function isWorkspacePath

src/spec-utils/workspaces.ts:33–35  ·  view source on GitHub ↗
(workspaceOrFolderPath: string)

Source from the content-addressed store, hash-verified

31}
32
33export function isWorkspacePath(workspaceOrFolderPath: string) {
34 return path.extname(workspaceOrFolderPath) === '.code-workspace'; // TODO: Remove VS Code specific code.
35}

Callers 2

resolveWithLocalFolderFunction · 0.90
workspaceFromPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected