Libraryless. Click here for Pure Java version (2757L/16K).
// subPath is relative and with slashes sbool fileExistsInInDirOrZip(File location, S subPath) ctex { if (location.isDirectory()) { File f = new File(location, subPath); ret f.exists(); } else if (location.isFile()) { ret zipContainsFile(location, subPath); } false; }
Began life as a copy of #1031474
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031476 |
| Snippet name: | fileExistsInInDirOrZip |
| Eternal ID of this version: | #1031476/3 |
| Text MD5: | ca13b5673d3547e0b36083974047e6da |
| Transpilation MD5: | 564f78d78172d4b1f41a8f7a2ac1d8ab |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-14 05:53:48 |
| Source code size: | 297 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 399 / 510 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |