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

6
LINES

< > BotCompany Repo | #1007641 // userDirDriveFullness

JavaX fragment (include)

// in percent
static double userDirDriveFullness() {
  File f = userDir();
  long total = f.getTotalSpace();
  ret (total-f.getUsableSpace())*100.0/total;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1007641
Snippet name: userDirDriveFullness
Eternal ID of this version: #1007641/3
Text MD5: 014e13997cd5010131ebc35f79f3149d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-30 13:51:08
Source code size: 161 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 445
Version history: 2 change(s)
Referenced in: [show references]