MCPcopy
hub / github.com/Doorman11991/smallcode / stats

Method stats

bin/memory.js:200–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199 // Get stats
200 stats() {
201 const types = {};
202 for (const obj of this.objects.values()) {
203 types[obj.type] = (types[obj.type] || 0) + 1;
204 }
205 return { total: this.objects.size, byType: types };
206 }
207}
208
209// ─── MCP Tool Definitions for Memory ─────────────────────────────────────────

Callers 5

runTUIFunction · 0.45
chatCompletionFunction · 0.45
chatCompletionFunction · 0.45
commands.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected