Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1032946 // renderFileNameWithSizeDateAndFreeSpace

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4277L/24K).

sS renderFileNameWithSizeDateAndFreeSpace(File f) {
  if (f == null) ret "-";
  ret fileName(f) + appendBracketed(commaCombine(
    fileInfoHintsWithDate(f),
    "free space: " + toMB_str(freeDiskSpace(f))));
}

Author comment

Began life as a copy of #1032935

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032946
Snippet name: renderFileNameWithSizeDateAndFreeSpace
Eternal ID of this version: #1032946/4
Text MD5: 0b65e8bbe58aa696c5670aa8a3f40842
Transpilation MD5: 024c44de7645627c02a8cec6348e5719
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 04:53:07
Source code size: 215 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 192 / 267
Version history: 3 change(s)
Referenced in: [show references]