MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / clear

Method clear

apps/webuiapps/src/lib/FileSystemStore.ts:427–432  ·  view source on GitHub ↗

* Clear storage (preserve root node)

()

Source from the content-addressed store, hash-verified

425 * Clear storage (preserve root node)
426 */
427 clear(): void {
428 this.nodes.clear();
429 this.pathIndex.clear();
430 this.initRoot();
431 this.emit('store_reset');
432 }
433
434 // ============ Serialization ============
435

Callers 8

loadFromNodesMethod · 0.95
initFromCloudMethod · 0.95
destroyMethod · 0.80
clearEmotionVideoCacheFunction · 0.80
llmClient.test.tsFile · 0.80
logger.test.tsFile · 0.80
useFileSystemFunction · 0.80

Calls 2

initRootMethod · 0.95
emitMethod · 0.95

Tested by

no test coverage detected