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

@@ -22,8 +22,8 @@ class ProgressStream extends TransformStream {
}
stats() {
const totalSecs = Math.round((Date.now() - this.#startTime)/1000);
return { startTime: this.#startTime, totalSecs, transferred: this.#transferred };
const totalMsecs = (Date.now() - this.#startTime)/1000;
return { startTime: this.#startTime, totalMsecs, transferred: this.#transferred };
}
_start() {