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

Function getApprovedWorkspacePaths

src/renderer/src/services/workspaceService.ts:33–37  ·  view source on GitHub ↗
(extraApprovedPaths: string[] = [])

Source from the content-addressed store, hash-verified

31}
32
33function getApprovedWorkspacePaths(extraApprovedPaths: string[] = []): string[] {
34 return Array.from(
35 new Set([...stores.workspace.workspaces.map((workspace) => workspace.path), ...extraApprovedPaths])
36 )
37}
38
39async function commitWorkspaceContext(
40 accountId: string,

Callers 1

commitWorkspaceContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected