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

3
LINES

< > BotCompany Repo | #1028046 // listDirsContainingFileNamed

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2555L/16K).

static L<File> listDirsContainingFileNamed(File dir, S fileName) {
  ret filter(listDirs(dir), d -> isFile(newFile(d, fileName)));
}

Author comment

Began life as a copy of #1020332

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028046
Snippet name: listDirsContainingFileNamed
Eternal ID of this version: #1028046/1
Text MD5: c9dec440e6d5850559e22c37673d5887
Transpilation MD5: 4740d2978d94c40a4fd348a3e9a57f5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-08 10:28:31
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 311
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)