1 | static long usedDiskSpace() { |
2 | File f = userDir(); |
3 | ret f.getTotalSpace()-f.getUsableSpace(); |
4 | } |
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: | 309 / 324 |
Version history: | 1 change(s) |
Referenced in: | [show references] |