static F1<File, Map> itemToMap_fullFilePath(S mainColumnName) { ret func(File f) -> Map { litorderedmap( mainColumnName := f.getPath(), "Size" := f.isDirectory() ? "Directory" : toK(fileSize(f)) + " K") }; }
Began life as a copy of #1019443
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: | #1019445 |
Snippet name: | itemToMap_fullFilePath |
Eternal ID of this version: | #1019445/3 |
Text MD5: | c0aeb4bcb2be5471038518e6780bb460 |
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:29:10 |
Source code size: | 235 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 310 / 347 |
Version history: | 2 change(s) |
Referenced in: | [show references] |