MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / callback

Function callback

src/settings/backupRestore.js:165–178  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

163 });
164
165 function callback(key) {
166 switch (key) {
167 case "backup":
168 backup();
169 return;
170
171 case "restore":
172 restore();
173 return;
174
175 default:
176 break;
177 }
178 }
179
180 async function backup() {
181 const loaderDialog = loader.create(

Callers

nothing calls this directly

Calls 2

backupFunction · 0.70
restoreFunction · 0.70

Tested by

no test coverage detected