Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MALSync/MALSync
/ setCache
Method
setCache
src/_provider/Search/rulesClass.ts:117–120 ·
view source on GitHub ↗
(cache: rules)
Source
from the content-addressed store, hash-verified
115
}
116
117
protected setCache(cache: rules) {
118
cache = JSON.parse(JSON.stringify(cache));
119
return
api.storage.set(`${this.
type
}/${this.cacheKey}/Rules`, cache);
120
}
121
122
public activeRule: any | undefined;
123
Callers
1
init
Method · 0.95
Calls
1
set
Method · 0.65
Tested by
no test coverage detected