rsync: add integrity information

This commit is contained in:
Girish Ramakrishnan
2025-08-13 09:39:36 +05:30
parent 28ac9e153e
commit 2fabfbe8f6
4 changed files with 49 additions and 31 deletions

View File

@@ -24,8 +24,8 @@ describe('Syncer', function () {
});
async function getChanges(dataLayout) {
const changes = await syncer.sync(dataLayout, { cacheFile: gCacheFile });
syncer.finalize(changes);
const changes = await syncer.sync(dataLayout, gCacheFile);
syncer.finalize(gCacheFile);
return changes.delQueue.concat(changes.addQueue);
}