MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / autoSync

Function autoSync

src/background/sync/base.js:669–677  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

667}
668
669export function autoSync() {
670 if (!getOption('syncAutomatically')) {
671 console.info('[sync] auto-sync disabled, check later');
672 const service = getService();
673 service?.prepare();
674 return syncLater();
675 }
676 sync();
677}
678
679export function authorize() {
680 const service = getService();

Callers 4

dbSentryFunction · 0.90
handleAuthFunction · 0.85
initializeFunction · 0.85
setConfigFunction · 0.85

Calls 3

getOptionFunction · 0.90
getServiceFunction · 0.85
syncFunction · 0.85

Tested by

no test coverage detected