static long directorySize(File dir) { long n = 0; for (File f : findAllFiles_noDirs(dir)) n += f.length(); ret n; }
Began life as a copy of #1001726
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001727 |
Snippet name: | directorySize (pure data size, recursively) |
Eternal ID of this version: | #1001727/1 |
Text MD5: | 236372f7e3be7a32ab326e8002075c09 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-28 15:55:58 |
Source code size: | 130 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 681 / 942 |
Referenced in: | [show references] |