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

Function adapterStatus

IPA-Installer/IPA-Installer.js:104–109  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

102 const isQuanX = typeof $task != "undefined";
103 const isStash = typeof $environment == "object" && $environment["stash-version"];
104 const adapterStatus = (response) => {
105 if (response && response.statusCode) {
106 response.status = response.statusCode;
107 }
108 return response
109 };
110 this.read = (key) => {
111 if (isQuanX) return $prefs.valueForKey(key);
112 if (isSurge) return $persistentStore.read(key);

Callers 1

compatible_toolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected