Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ resetSyncState
Function
resetSyncState
src/background/sync/state-machine.js:39–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
}
38
39
export
function
resetSyncState() {
40
state = defaultSyncState();
41
onUpdated();
42
}
43
44
export
function
getSyncState() {
45
return
state;
Callers
1
initialize
Function · 0.90
Calls
2
defaultSyncState
Function · 0.85
onUpdated
Function · 0.85
Tested by
no test coverage detected