Closed atty303 closed 3 months ago
I think this is a good use for FileSystem.metadata
.
Sorry for the repeated "added a commit to zen-fs/core that referenced this issue", I messed up the commit message =[
I will wait for ZipFS to update this one as well. (https://github.com/zen-fs/core/issues/64)
As I mentioned in zen-fs/core#64, I had not released the Zip updates yet. @zenfs/zip v0.4.0 should be up to date.
I can confirm that this problem has been fixed.
The errors are as follows
This is where the resizable ArrayBufferView comes from.
https://github.com/zen-fs/core/blob/main/src/file.ts#L558
I think there should be a flag in the constructor of PreloadFile to indicate whether resizable buffers should be used. Or maybe the only way to do writeFile with WebAccessFS is to copy the buffer?