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

8
LINES

< > BotCompany Repo | #1011270 // programsWithFiles

JavaX fragment (include)

static L<S> programsWithFiles() {
  new L<S> l;
  for (File dir : listDirs(javaxDataDir())) pcall {
    if (dir.getName().startsWith("#") && nempty(listFiles(dir)))
      l.add(fsI(dir.getName()));
  }
  ret l;
}

Author comment

Began life as a copy of #1001460

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: #1011270
Snippet name: programsWithFiles
Eternal ID of this version: #1011270/2
Text MD5: 74e5abf46ea55d9a9f1781ea6d7bc7e6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-21 22:12:44
Source code size: 219 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 374
Version history: 1 change(s)
Referenced in: [show references]