MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / get

Method get

src/main/views/manager.ts:121–127  ·  view source on GitHub ↗
(routeName: RouteActionType)

Source from the content-addressed store, hash-verified

119 }
120
121 get(routeName: RouteActionType): BrowserWindow {
122 if (this.windows.has(routeName)) {
123 return this.windows.get(routeName) as BrowserWindow;
124 } else {
125 return this.create(routeName);
126 }
127 }
128
129 showSettings(tab: string | null) {
130 if (this.windows.has("settings")) {

Callers 8

mainWindowMethod · 0.95
showSettingsMethod · 0.95
saveBoundsMethod · 0.45
syncBoundsMethod · 0.45
closeByNameMethod · 0.45
onEdgeMethod · 0.45
createWindowMethod · 0.45
createMainMethod · 0.45

Calls 2

createMethod · 0.95
hasMethod · 0.45

Tested by

no test coverage detected