Open swankjesse opened 5 months ago
I selfishly would like to see the amount of bytes the file requires in the actual zip format. That is, to say, summing the format size of each file should produce a total that is equal to the size of the whole .zip (less the central directory header and trailer).
Here's what I'm doing now: https://github.com/JakeWharton/diffuse/blob/trunk/io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt#L71-L107
I would be happy if this was a derived value, just more plainly derived. Such as original size, stored size, and metadata size (where what I want is stored + metadata).
We should expose stuff from ZipEntry in the ZipFileSystem’s FileMetadata, using the
extras
field.For example, we could include any of the following: