MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / clear

Method clear

frontend/src/cache.ts:1438–1445  ·  view source on GitHub ↗

* Clear all cache

()

Source from the content-addressed store, hash-verified

1436 * Clear all cache
1437 */
1438 async clear() {
1439 this.files = {};
1440 this.crossFileEdges = [];
1441 this.workflows = {};
1442 this.lastMergedGraph = null;
1443 await this.saveNow();
1444 await this.writeGraphFile(null);
1445 }
1446
1447 // =========================================================================
1448 // Compatibility methods

Callers 3

activateFunction · 0.95
cancelMethod · 0.45
flushMethod · 0.45

Calls 2

saveNowMethod · 0.95
writeGraphFileMethod · 0.95

Tested by

no test coverage detected