MCPcopy
hub / github.com/marktext/marktext / delete

Method delete

packages/desktop/src/main/app/windowManager.ts:49–55  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

47 }
48
49 delete(id: number): void {
50 const { _buf } = this
51 const index = _buf.indexOf(id)
52 if (index !== -1) {
53 _buf.splice(index, 1)
54 }
55 }
56}
57
58/**

Callers 15

loadImageAsyncFunction · 0.80
listenMethod · 0.80
mouseLeaveMethod · 0.80
setLanguageFunction · 0.80
FORCE_CLOSE_TABFunction · 0.80
HANDLE_AUTO_SAVEFunction · 0.80
LISTEN_FOR_FILE_CHANGEFunction · 0.80
PreferenceClass · 0.80
removeMethod · 0.80
removeWindowMenuMethod · 0.80
_openPathListMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected