sbool fileIsUnderAbsolutePath(File f, File dir) { if (dir == null || f == null) false; f = absoluteFile(f); dir = absoluteFile(dir); do { f = dirOfFile(f); if (eq(f, dir)) true; } while (f != null); false; }
Began life as a copy of #1019186
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022904 |
| Snippet name: | fileIsUnderAbsolutePath |
| Eternal ID of this version: | #1022904/1 |
| Text MD5: | d642b83dc18ce9cc7f53580687ec7c83 |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-14 19:47:12 |
| Source code size: | 236 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 486 / 509 |
| Referenced in: | [show references] |