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

Method constructor

apps/webuiapps/src/lib/FileSystemStore.ts:38–47  ·  view source on GitHub ↗
(fileApi?: FileOperations)

Source from the content-addressed store, hash-verified

36 private fileApi?: FileOperations;
37
38 constructor(fileApi?: FileOperations) {
39 this.nodes = new Map();
40 this.pathIndex = new Map();
41 this.rootId = 'root';
42 this.listeners = new Set();
43 this.fileApi = fileApi;
44
45 // Initialize root node
46 this.initRoot();
47 }
48
49 /**
50 * Initialize root node

Callers

nothing calls this directly

Calls 1

initRootMethod · 0.95

Tested by

no test coverage detected