MCPcopy
hub / github.com/mailvelope/mailvelope / clear

Method clear

src/modules/pwdCache.js:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 async clear() {
50 super.clear();
51 chrome.storage.session.remove(PWD_SESSION_KEY);
52 const alarms = await chrome.alarms.getAll();
53 for (const alarm of alarms) {
54 if (alarm.name.startsWith(PWD_ALARM_PREFIX)) {
55 chrome.alarms.clear(alarm.name);
56 }
57 }
58 }
59
60 async getSession() {
61 const {[PWD_SESSION_KEY]: pwdSession} = await chrome.storage.session.get(PWD_SESSION_KEY);

Callers 12

clearFunction · 0.45
test-harness.jsFile · 0.45
editor.test.jsFile · 0.45
initFunction · 0.45
deleteKeyringFunction · 0.45
importKeysMethod · 0.45
deleteMethod · 0.45
updateFunction · 0.45
reloadKeystoreMethod · 0.45
initFactoryFunction · 0.45

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected