MCPcopy
hub / github.com/philc/vimium / remove

Function remove

tests/unit_tests/test_chrome_stubs.js:40–46  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

38 },
39
40 async remove(key) {
41 chrome.runtime.lastError = undefined;
42 if (key in this.store) {
43 delete this.store[key];
44 }
45 globalThis.chrome.storage.onChanged.callEmpty(key);
46 },
47
48 async clear() {
49 // TODO: Consider firing the change listener if Chrome's API implementation does.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected