Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ defaultSyncState
Function
defaultSyncState
src/background/sync/state-machine.js:29–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
let
state = defaultSyncState();
28
29
function
defaultSyncState() {
30
return
{
31
status: SYNC_IDLE,
32
};
33
}
34
35
function
onUpdated() {
36
events.fire(
'change'
, state);
Callers
2
state-machine.js
File · 0.85
resetSyncState
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected