MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getStats

Method getStats

src/utils/fileReadCache.ts:87–92  ·  view source on GitHub ↗

* Gets cache statistics for debugging/monitoring.

()

Source from the content-addressed store, hash-verified

85 * Gets cache statistics for debugging/monitoring.
86 */
87 getStats(): { size: number; entries: string[] } {
88 return {
89 size: this.cache.size,
90 entries: Array.from(this.cache.keys()),
91 }
92 }
93}
94
95// Export a singleton instance

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected