Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
export
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
handleExport
Function · 0.90
persistRecord
Function · 0.90
pagesStore.ts
File · 0.90
persistFolders
Function · 0.90
Calls
1
tryGetCurrentWorkspaceScope
Function · 0.85
Tested by
no test coverage detected