MCPcopy Index your code
hub / github.com/darkreader/darkreader / saveState

Method saveState

src/utils/state-manager.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 async saveState(): Promise<void> {
35 if (this.stateManager) {
36 return this.stateManager.saveState();
37 }
38 }
39
40 async loadState(): Promise<void> {
41 if (this.stateManager) {

Callers 10

updateNewsMethod · 0.45
markAsReadMethod · 0.45
markAsDisplayedMethod · 0.45
initMethod · 0.45
removeFrameMethod · 0.45
cleanStateMethod · 0.45
ExtensionClass · 0.45
onSettingsChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected