tgz: add fileCount to integrity
This commit is contained in:
@@ -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') }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user