MCPcopy
hub / github.com/wavetermdev/waveterm / delete

Method delete

frontend/layout/lib/nodeRefMap.ts:13–18  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

11 }
12
13 delete(id: string) {
14 if (this.map.has(id)) {
15 this.map.delete(id);
16 this.generation++;
17 }
18 }
19
20 get(id: string): React.RefObject<HTMLDivElement> {
21 if (this.map.has(id)) {

Callers 15

constructorMethod · 0.80
removeTabViewMethod · 0.80
constructorMethod · 0.80
removeWaveTabViewFunction · 0.80
initIpcHandlersFunction · 0.80
cleanupNodeModelsMethod · 0.80
deleteLayoutModelForTabFunction · 0.80
toggleExpandFunction · 0.80
waveEventUnsubscribeFunction · 0.80
getFileSubjectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected