MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / isWorkspaceWindow

Function isWorkspaceWindow

apps/desktop/src/main/index.ts:420–422  ·  view source on GitHub ↗
(win: BrowserWindow)

Source from the content-addressed store, hash-verified

418const workspaceWindowIds = new Set<number>()
419
420function isWorkspaceWindow(win: BrowserWindow): boolean {
421 return workspaceWindowIds.has(win.id)
422}
423
424function findWindowForVaultRoot(root: string): BrowserWindow | null {
425 const target = path.resolve(root)

Callers 3

findWindowForVaultRootFunction · 0.85
createWindowFunction · 0.85
index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected