We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9effb60 commit a99ab19Copy full SHA for a99ab19
packages/hub/src/utils/XetBlob.ts
@@ -304,6 +304,8 @@ export class XetBlob extends Blob {
304
uncompressed_length: header.getUint8(5) | (header.getUint8(6) << 8) | (header.getUint8(7) << 16),
305
};
306
307
+ console.log("chunk header", chunkHeader);
308
+
309
if (chunkHeader.version !== 0) {
310
throw new Error(`Unsupported chunk version ${chunkHeader.version}`);
311
}
@@ -391,6 +393,8 @@ export class XetBlob extends Blob {
391
393
leftoverBytes = result.value.slice(chunkHeader.compressed_length);
392
394
395
396
+ console.log("done", done, "total read", totalBytesRead);
397
398
// Release the reader
399
await reader.cancel();
400
0 commit comments