Open Jayanzhou opened 5 years ago
some code is below:
blobList.forEach((blob, index) => { tarStream.addEntry(blob.data, { relativePath:${blob.name}_${index + 1}${blob.type}}); });
blobList.forEach((blob, index) => { tarStream.addEntry(blob.data, { relativePath:
}); });
but when i download this .tar file, uncompress software cannot uncompress this file, because this sub files have the same file name, so the relativePath is not usefull when tarStream.addEntry.
tks
some code is below:
blobList.forEach((blob, index) => { tarStream.addEntry(blob.data, { relativePath:
${blob.name}_${index + 1}${blob.type}}); });
but when i download this .tar file, uncompress software cannot uncompress this file, because this sub files have the same file name, so the relativePath is not usefull when tarStream.addEntry.