Libraryless. Click here for Pure Java version (4693L/26K).
1 | static L<Map> zipFileToJSONFingerprint_dateOnly(File zip) { |
2 | temp zipFile = zipFile(zip); |
3 | ret zipFileToJSONFingerprint_dateOnly(zipFile); |
4 | } |
5 | |
6 | static L<Map> zipFileToJSONFingerprint_dateOnly(ZipFile zip) { |
7 | ret map(listZipEntries(zip), e -> |
8 | litorderedmap(name := e.getName(), |
9 | date := e.getTime()/1000, |
10 | )); |
11 | } |
Began life as a copy of #1033926
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034019 |
Snippet name: | zipFileToJSONFingerprint_dateOnly - list each file name with date |
Eternal ID of this version: | #1034019/1 |
Text MD5: | 220ea375b75a099e3e4b85d9f8fce81f |
Transpilation MD5: | cb4459a728dd1a74cb391908927b1018 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-17 15:41:44 |
Source code size: | 333 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 190 / 253 |
Referenced in: | [show references] |