MCPcopy Index your code
hub / github.com/MALSync/MALSync / syncMissing

Function syncMissing

src/utils/syncHandler.ts:210–223  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

208}
209
210export async function syncMissing(item) {
211 item.diff = {
212 score: item.score,
213 watchedEp: item.watchedEp,
214 status: normalizeStatus(item.status),
215 startDate: item.startDate,
216 finishDate: item.finishDate,
217 rewatchCount: item.rewatchCount,
218 };
219 if (item.type === 'manga') {
220 item.diff.readVol = item.readVol;
221 }
222 return syncItem(item, item.syncType);
223}
224
225// eslint-disable-next-line consistent-return
226export function syncItem(slave, pageType) {

Callers 1

syncListFunction · 0.85

Calls 2

normalizeStatusFunction · 0.85
syncItemFunction · 0.85

Tested by

no test coverage detected