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

Function getWindowID

packages/desktop/src/main/windows.ts:124–126  ·  view source on GitHub ↗
(win: BrowserWindow)

Source from the content-addressed store, hash-verified

122}
123
124export function getWindowID(win: BrowserWindow) {
125 return windowIDs.get(win)
126}
127
128export function getLastFocusedWindow() {
129 const focused = BrowserWindow.getFocusedWindow()

Callers 1

registerIpcHandlersFunction · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected