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

9
LINES

< > BotCompany Repo | #1001051 // listProgramDir

JavaX fragment (include)

1  
static L<File> listProgramDir(S snippetID) {
2  
  File dir = programDir(snippetID);
3  
  if (dir.isDirectory()) {
4  
    File[] f = dir.listFiles();
5  
    if (f != null)
6  
      return asList(f);
7  
  }
8  
  return new ArrayList();
9  
}

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: #1001051
Snippet name: listProgramDir
Eternal ID of this version: #1001051/1
Text MD5: 165fe2e4ca66b9b25173a97db672fe0d
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-17 21:22:33
Source code size: 222 bytes / 9 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 680 / 908
Referenced in: [show references]