MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / getTransCache

Function getTransCache

userscripts.js:272–276  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

270 localStorage.setItem(model + "_" + option + "_" + result, origin)
271 },
272 getTransCache(key) {
273 let model = util.getValue('model');
274 let option = optionsManager.getOption(model);
275 return localStorage.getItem(model + "_" + option + "_" + key)
276 },
277 removeSession(key) {
278 localStorage.removeItem(util.getValue('model') + "_" + key)
279 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected