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

Function getLocationKey

background_scripts/marks.js:5–7  ·  view source on GitHub ↗
(markName)

Source from the content-addressed store, hash-verified

3// This returns the key which is used for storing mark locations in chrome.storage.sync.
4// Exported for tests.
5export function getLocationKey(markName) {
6 return `vimiumGlobalMark|${markName}`;
7}
8
9// Get the part of a URL we use for matching here (that is, everything up to the first anchor).
10function getBaseUrl(url) {

Callers 2

saveMarkFunction · 0.70
gotoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected