MCPcopy 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

initMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected