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

Function read

BDTieBa-DailyBonus/TieBa.js:258–261  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

256 if (isSurge) return $persistentStore.write(value, key)
257 }
258 const read = (key) => {
259 if (isQuanX) return $prefs.valueForKey(key)
260 if (isSurge) return $persistentStore.read(key)
261 }
262 const adapterStatus = (response) => {
263 if (response) {
264 if (response.status) {

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected