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

Function getCurrent

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

Source from the content-addressed store, hash-verified

642 serviceClasses.push(Factory);
643}
644function getCurrent() {
645 return syncConfig.get('current');
646}
647function getService(name) {
648 return services[name || getCurrent()];
649}

Callers 2

syncFunction · 0.85
getServiceFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected