|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| dir/ | | 14-Jan-2024 | - | 2,598 | 2,598 |
| README | D | 14-Jan-2024 | 541 | 15 | 12 |
| test.zip | D | 14-Jan-2024 | 148 KiB | | |
README
1The test data is generated as follows:
2
3$ mkdir dir
4$ base64 /dev/urandom | head -c 100000 > dir/file1
5$ base64 /dev/urandom | head -c 100000 > dir/file2
6$ soong_zip -o test.zip -D dir
7
8Running zipinfo shows that the files are compressed using deflate (defN)
9$ zipinfo test.zip
10Archive: test.zip
11Zip file size: 151594 bytes, number of entries: 2
12-rw------- 2.0 unx 100000 bl defN 08-Jan-01 00:00 dir/file1
13-rw------- 2.0 unx 100000 bl defN 08-Jan-01 00:00 dir/file2
142 files, 200000 bytes uncompressed, 151352 bytes compressed: 24.3%
15