MCPcopy
hub / github.com/nodejs/undici / size

Method size

lib/cache/sqlite-cache-store.js:380–383  ·  view source on GitHub ↗

* Counts the number of rows in the cache * @returns {Number}

()

Source from the content-addressed store, hash-verified

378 * @returns {Number}
379 */
380 get size () {
381 const { total } = this.#countEntriesQuery.get()
382 return total
383 }
384
385 /**
386 * @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} key

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected