static long usedDiskSpace() { File f = userDir(); ret f.getTotalSpace()-f.getUsableSpace(); }
Began life as a copy of #1016859
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020499 |
Snippet name: | usedDiskSpace - on home partition |
Eternal ID of this version: | #1020499/2 |
Text MD5: | 4c6ca080bc525a550a1ee2b0ee019417 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-25 15:01:04 |
Source code size: | 100 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 308 / 323 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032375 - usedAndTotalDiskSpace - on home partition |