MCPcopy Create free account
hub / github.com/anyehttp/quantumult-x / readLocalData

Function readLocalData

task/AppStore.js:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66// 读取本地数据
67function readLocalData() {
68 const data = $.getdata('app_data') || '{}';
69 console.log('读取本地数据');
70 return JSON.parse(data);
71}
72
73// 写入本地数据
74function writeLocalData(data) {

Callers 1

mainFunction · 0.70

Calls 2

getdataMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected