evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
A utility for removing cached entries by key while letting callers choose between default tombstone deletions and full index bucket removal for problematic keys.
tombstoned in the result. @testskipped instead of throwing. @testopts.purgeBuckets, its index bucket is deleted instead of being tombstoned, and the key is reported under fullyRemoved. @testtombstoned, fullyRemoved, and skipped listings. @test/**
* Removes cache entries by key, tombstoning by default and allowing full bucket removal for flagged keys.
* @param {string} cachePath
* @param {string[]} keys
* @param {{ purgeBuckets?: string[] }} [opts]
* @returns {Promise<{ tombstoned: string[], fullyRemoved: string[], skipped: string[] }>}
*/
export function purgeEntries(cachePath, keys, opts);Provides cache index deletion with optional full bucket removal controls.