MCPcopy Create free account
hub / github.com/NobyDa/Script / read

Function read

Surge/JS/Bili_Auto_Regions.js:274–277  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

272 if (isHTTP) $notification.post(title, subtitle, message);
273 }
274 const read = (key) => {
275 if (isQuanX) return $prefs.valueForKey(key);
276 if (isHTTP) return $persistentStore.read(key);
277 }
278 const adapterStatus = (response) => {
279 if (!response) return null;
280 if (response.status) {

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected