MCPcopy Create free account
hub / github.com/Moli-X/Resources / read

Function read

Script/ZsHc.js:43–46  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

41const isQX = typeof $task !== "undefined";
42
43function read(key) {
44 if (isLoon || isSurge) return $persistentStore.read(key);
45 if (isQX) return $prefs.valueForKey(key);
46}
47
48function write(key, value) {
49 if (isLoon || isSurge) return $persistentStore.write(value, key);

Callers 1

ZsHc.jsFile · 0.70

Calls 1

readMethod · 0.45

Tested by

no test coverage detected