Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ writeWindowIDs
Function
writeWindowIDs
packages/desktop/src/main/windows.ts:235–237 ·
view source on GitHub ↗
(ids: string[])
Source
from the content-addressed store, hash-verified
233
}
234
235
function
writeWindowIDs(ids: string[]) {
236
getStore().set(WINDOW_IDS_KEY, [...
new
Set(ids)])
237
}
238
239
function
persistWindowID(id: string) {
240
const
ids = readWindowIDs()
Callers
2
persistWindowID
Function · 0.85
removeWindowID
Function · 0.85
Calls
2
getStore
Function · 0.90
set
Method · 0.45
Tested by
no test coverage detected