Libraryless. Click here for Pure Java version (4685L/26K).
static L<File> listFilesOnly(S dir) { ret listFilesOnly(new File(dir)); } static L<File> listFilesOnly(File... dirs) { ret concatMap(dir -> listFilesWithSuffix("", dir), dirs); }
Began life as a copy of #1002088
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1005311 |
Snippet name: | listFilesOnly - list only the files (not directories) |
Eternal ID of this version: | #1005311/8 |
Text MD5: | 9dfbb63b8ac3016a68590a5d8996a29b |
Transpilation MD5: | ceb35d2ed936095327555980123869a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-14 23:03:54 |
Source code size: | 189 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 601 / 747 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1011260 - listFilesNotDirs - synonym of listFilesOnly - list only the files (not directories) |