MCPcopy Create free account
hub / github.com/experdot/pointer / approveWorkspacePath

Function approveWorkspacePath

src/main/workspaceRuntime.ts:32–34  ·  view source on GitHub ↗
(workspacePath: string)

Source from the content-addressed store, hash-verified

30}
31
32export function approveWorkspacePath(workspacePath: string): void {
33 approvedWorkspaceRoots.add(normalizeRoot(workspacePath))
34}
35
36export function getCurrentWorkspacePath(): string | null {
37 return currentWorkspaceRoot

Callers 1

setupFileSystemHandlersFunction · 0.90

Calls 1

normalizeRootFunction · 0.85

Tested by

no test coverage detected