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

3
LINES

< > BotCompany Repo | #1001726 // numFiles (counts files and dirs)

JavaX fragment (include)

static int numFiles(File dir) {
  ret l(findAllFiles(dir));
}

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: #1001726
Snippet name: numFiles (counts files and dirs)
Eternal ID of this version: #1001726/1
Text MD5: b2290d3a4e9161eef061900d1ebffb9a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-10 17:55:11
Source code size: 63 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 662 / 937
Referenced in: #1001727 - directorySize (pure data size, recursively)
#1002427 - Accellerating 629 (SPIKE)
#1003845 - numFiles_noDirs (counts files only, recursively)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)