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

5
LINES

< > BotCompany Repo | #1032445 // freeAndTotalInodes_oshi

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

Uses 5404K of libraries. Click here for Pure Java version (4350L/24K).

static FreeAndTotal freeAndTotalInodes_oshi(File f default userDir()) {
  OSFileStore fs = oshi_findFileStore(f);
  if (fs == null) null;
  ret FreeAndTotal(fs.getFreeInodes(), fs.getTotalInodes());
}

Author comment

Began life as a copy of #1023142

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032445
Snippet name: freeAndTotalInodes_oshi
Eternal ID of this version: #1032445/1
Text MD5: 9a03e29feb1c3cae420ee8b3c87d4439
Transpilation MD5: 4043330bdc52a8f27c17d68db43429d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-05 09:38:44
Source code size: 204 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 205
Referenced in: [show references]