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

9
LINES

< > BotCompany Repo | #1001051 // listProgramDir

JavaX fragment (include)

static L<File> listProgramDir(S snippetID) {
  File dir = programDir(snippetID);
  if (dir.isDirectory()) {
    File[] f = dir.listFiles();
    if (f != null)
      return asList(f);
  }
  return new ArrayList();
}

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: 679 / 906
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)