()
| 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'); |
no outgoing calls
no test coverage detected