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

Function getCurrentWorkspaceScope

src/renderer/src/persistence/scope.ts:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31export function getCurrentWorkspaceScope(): WorkspaceScope {
32 const scope = tryGetCurrentWorkspaceScope()
33 if (!scope) {
34 throw new Error('No current workspace selected')
35 }
36 return scope
37}

Callers 4

handleExportFunction · 0.90
persistRecordFunction · 0.90
pagesStore.tsFile · 0.90
persistFoldersFunction · 0.90

Calls 1

Tested by

no test coverage detected