MCPcopy
hub / github.com/foambubble/foam / dispose

Method dispose

packages/foam-vscode/src/test/vscode-mock.ts:1424–1434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1422 }
1423
1424 dispose() {
1425 if (mockState.fileWatchers) {
1426 const index = mockState.fileWatchers.indexOf(this);
1427 if (index >= 0) {
1428 mockState.fileWatchers.splice(index, 1);
1429 }
1430 }
1431 this.onDidCreateEmitter.dispose();
1432 this.onDidChangeEmitter.dispose();
1433 this.onDidDeleteEmitter.dispose();
1434 }
1435}
1436
1437// ===== Workspace Folder =====

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected