// subPath is relative and with slashes sbool dirOrZipContainsPath(File location, S subPath) ctex { if (location.isDirectory()) { ret new File(location, subPath).exists(); } else if (location.isFile()) { ret zipFileContains_falseOnError(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: | #1031551 |
Snippet name: | dirOrZipContainsPath |
Eternal ID of this version: | #1031551/5 |
Text MD5: | 20581babe4d326a8cceef7f6022ac64b |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-21 22:59:35 |
Source code size: | 291 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 173 / 200 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |