MCPcopy Create free account
hub / github.com/nodejs/undici / size

Method size

lib/cache/memory-cache-store.js:77–79  ·  view source on GitHub ↗

* Get the current size of the cache in bytes * @returns {number} The current size of the cache in bytes

()

Source from the content-addressed store, hash-verified

75 * @returns {number} The current size of the cache in bytes
76 */
77 get size () {
78 return this.#size
79 }
80
81 /**
82 * Check if the cache is full (either max size or max count reached)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected