MCPcopy Index your code
hub / github.com/anomalyco/opencode / windowStateFile

Function windowStateFile

packages/desktop/src/main/windows.ts:250–252  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

248}
249
250function windowStateFile(id: string) {
251 return `window-state-${id.replace(/[^a-zA-Z0-9._-]/g, "-")}.json`
252}
253
254export function registerRendererProtocol() {
255 if (protocol.isProtocolHandled(rendererProtocol)) return

Callers 2

createMainWindowFunction · 0.85
removeWindowIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected