1 | // lists only the non-empty ones |
2 | static L<File> allDataDirectories() { |
3 | File dataDir = javaxDataDir(); |
4 | new L<File> l; |
5 | for (File dir : listDirs(dataDir)) |
6 | if (dir.getName().startsWith("#") && listFiles(dir).length != 0) |
7 | l.add(dir); |
8 | ret l; |
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: | #1001723 |
Snippet name: | allDataDirectories |
Eternal ID of this version: | #1001723/1 |
Text MD5: | 9d4574753a6835c6611308a53b66f024 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-25 21:00:07 |
Source code size: | 263 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 653 / 933 |
Referenced in: | [show references] |