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

8
LINES

< > BotCompany Repo | #1003915 // allDataFilesNamed - now recurses

JavaX fragment (include)

1  
static L<File> allDataFilesNamed(S name) {
2  
  new L<File> l;
3  
  for (File dir : allDataDirs())
4  
    for (File f : findAllFiles(dir))
5  
      if (f.isFile() && f.getName().equals(name))
6  
        l.add(f);
7  
  ret l;
8  
}

Author comment

Began life as a copy of #1003688

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: #1003915
Snippet name: allDataFilesNamed - now recurses
Eternal ID of this version: #1003915/1
Text MD5: 8a2e01fdf08f3905eca3f025905465df
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-31 23:02:24
Source code size: 215 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 643 / 611
Referenced in: [show references]