Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
644
function
getCurrent() {
645
return
syncConfig.get(
'current'
);
646
}
647
function
getService(name) {
648
return
services[name || getCurrent()];
649
}
Callers
2
sync
Function · 0.85
getService
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected