MCPcopy
hub / github.com/Tampermonkey/tampermonkey / got

Function got

src/background.js:2002–2009  ·  view source on GitHub ↗
(has, asked)

Source from the content-addressed store, hash-verified

2000 var check = function() {
2001 if (Config.values.sync_type == SyncInfo.types.eCHROMESYNC) {
2002 var got = function(has, asked) {
2003 if (has) {
2004 run();
2005 } else {
2006 console.log("sync: storage permission is needed in order to use Google Sync!");
2007 abort();
2008 }
2009 };
2010 storagePermission.requestPermissionEx(got);
2011 } else {
2012 run();

Callers

nothing calls this directly

Calls 4

abortFunction · 0.85
runFunction · 0.70
nextFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected