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

Method get

lib/utils.js:352–363  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

350 }
351
352 get(key) {
353 this.rotate();
354 if (key in this.cache) {
355 return this.cache[key];
356 } else if (key in this.previous) {
357 this.cache[key] = this.previous[key];
358 delete this.previous[key];
359 return this.cache[key];
360 } else {
361 return null;
362 }
363 }
364
365 rotate(force) {
366 if (force == null) force = false;

Callers 15

loadFromStorageMethod · 0.80
selectSpecificTabFunction · 0.80
main.jsFile · 0.80
initFunction · 0.80
createFunction · 0.80
gotoFunction · 0.80
getRuleFunction · 0.80
lookupEngineFunction · 0.80
completeFunction · 0.80
matchesFunction · 0.80

Calls 1

rotateMethod · 0.95

Tested by

no test coverage detected