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)

static File findSecretFile(S name) {
  new L<File> l;
  for (File dir : allSecretDirs()) {
    File f = new File(dir, name);
    if (f.exists())
      ret f;
  }
  null;
}

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