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

9
LINES

< > BotCompany Repo | #1003787 // findSecretFile - scan all secret directories for a file

JavaX fragment (include)

1  
static File findSecretFile(S name) {
2  
  new L<File> l;
3  
  for (File dir : allSecretDirs()) {
4  
    File f = new File(dir, name);
5  
    if (f.exists())
6  
      ret f;
7  
  }
8  
  null;
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003787
Snippet name: findSecretFile - scan all secret directories for a file
Eternal ID of this version: #1003787/1
Text MD5: 2e5d467a723133004a8960be73b27803
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-27 15:26:47
Source code size: 179 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 447 / 455
Referenced in: [show references]