MCPcopy
hub / github.com/MALSync/MALSync / enable

Function enable

src/utils/syncHandler.ts:389–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387 });
388 },
389 async enable() {
390 return api.storage.set('backgroundListSync', {
391 mode: await api.settings.getAsync('syncMode'),
392 syncModeSimkl: await api.settings.getAsync('syncModeSimkl'),
393 splitTracking: await api.settings.getAsync('splitTracking'),
394 });
395 },
396 disable() {
397 return api.storage.remove('backgroundListSync');
398 },

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected