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

Method dispose

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

Source from the content-addressed store, hash-verified

1681 }
1682
1683 static dispose() {
1684 if (TestFoam.instance) {
1685 try {
1686 TestFoam.instance.dispose();
1687 } catch (error) {
1688 // Ignore disposal errors
1689 }
1690 TestFoam.instance = null;
1691 }
1692 }
1693}
1694
1695export async function getTestFoam(): Promise<Foam> {

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected