MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / getStats

Method getStats

coding-agent/src/context/cache.ts:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 getStats() {
86 return {
87 size: this.cache.size,
88 maxSize: this.maxSize,
89 utilization: this.cache.size / this.maxSize
90 };
91 }
92
93 static hashKey(data: string): string {
94 return createHash('sha256').update(data).digest('hex');

Callers 7

index.tsFile · 0.45
commands.tsFile · 0.45
startReplFunction · 0.45
session.test.tsFile · 0.45
metrics.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected