1 | static S renderFileInfo(File f) {
|
2 | ret f == null ? "-" : f2s(f) + " " |
3 | + (f.isFile() ? "(file, " + n2(fileSize(f)) + " bytes)" |
4 | : f.isDirectory() ? "(dir)" : "(not found)"); |
5 | } |
Began life as a copy of #1011916
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1015356 |
| Snippet name: | renderFileInfo |
| Eternal ID of this version: | #1015356/2 |
| Text MD5: | 70c10f3f3e609102fa650b1f71e691aa |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-30 16:55:03 |
| Source code size: | 188 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 919 / 985 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |