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)

static L<File> allDataFilesNamed(S name) {
  new L<File> l;
  for (File dir : allDataDirs())
    for (File f : findAllFiles(dir))
      if (f.isFile() && f.getName().equals(name))
        l.add(f);
  ret l;
}

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: 642 / 610
Referenced in: [show references]