MCPcopy
hub / github.com/mailvelope/mailvelope / isCached

Function isCached

src/modules/pwdCache.js:176–178  ·  view source on GitHub ↗
(primaryKeyFpr)

Source from the content-addressed store, hash-verified

174 * @return {Promise<Boolean>} - true if cached
175 */
176export function isCached(primaryKeyFpr) {
177 return cache.has(primaryKeyFpr);
178}
179
180/**
181 * Delete key from cache

Callers 2

canUnlockKeyMethod · 0.90
canUnlockKeyMethod · 0.90

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected