tgz: add fileCount to integrity

This commit is contained in:
Girish Ramakrishnan
2025-08-13 19:33:39 +05:30
parent cb1bc6cfdf
commit 0c79dcdf1b
3 changed files with 5 additions and 5 deletions

View File

@@ -175,7 +175,7 @@ async function tarPack(dataLayout, encryption, uploader, progressCallback) {
await uploader.finish();
return {
stats: { fileCount, ...ps.stats() },
integrity: { size: ps.stats().transferred, sha256: hash.digest('hex') }
integrity: { size: ps.stats().transferred, fileCount, sha256: hash.digest('hex') }
};
}