MCPcopy
hub / github.com/21st-dev/1code / getStableId

Method getStableId

src/main/windows/window-manager.ts:75–77  ·  view source on GitHub ↗

* Get the stable ID for a window

(window: BrowserWindow)

Source from the content-addressed store, hash-verified

73 * Get the stable ID for a window
74 */
75 getStableId(window: BrowserWindow): string {
76 return this.windowIdMap.get(window.id) ?? "main"
77 }
78
79 /**
80 * Unregister a window

Callers 2

handleAuthCodeFunction · 0.80
createWindowFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected