1 | sS renderZipEntriesWithCompressedSizes(S zip) {
|
2 | ret renderZipEntriesWithCompressedSizes(newFile(zip)); |
3 | } |
4 | |
5 | sS renderZipEntriesWithCompressedSizes(File zip) {
|
6 | ret renderZipEntriesWithCompressedSizes(listZipEntries(zip)); |
7 | } |
8 | |
9 | sS renderZipEntriesWithCompressedSizes(L<ZipEntry> entries) {
|
10 | ret asciiTable(ll("Compressed", "Uncompressed", "File"),
|
11 | map(func(ZipEntry e) -> LS {
|
12 | ll(toK_str(e.getCompressedSize()), toK_str(e.getSize()), e.getName()) |
13 | }, entries)); |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022708 |
| Snippet name: | renderZipEntriesWithCompressedSizes |
| Eternal ID of this version: | #1022708/4 |
| Text MD5: | 509f76d08344ab567d86592807511a4d |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-31 21:57:28 |
| Source code size: | 488 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 612 / 637 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |