static F1<File, Map> itemToMap_File() { ret func(File f) -> Map { litorderedmap( "Name" := f.getName(), "Size" := f.isDirectory() ? "Directory" : toK(fileSize(f)) + " K") }; }
Began life as a copy of #1019414
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019443 |
Snippet name: | itemToMap_File |
Eternal ID of this version: | #1019443/3 |
Text MD5: | e28ecdbd240b787d9cf0a97a5aa2a99c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-06 23:27:40 |
Source code size: | 203 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 365 / 416 |
Version history: | 2 change(s) |
Referenced in: | [show references] |