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

4
LINES

< > BotCompany Repo | #1024335 // inPhysicalSubdirectory - according to canonical path; not tested

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

Libraryless. Click here for Pure Java version (1642L/11K).

sbool inPhysicalSubdirectory(File inner, File outer) ctex {
  ret inner != null && outer != null &&
    startsWith(inner.getCanonicalPath(), addFileSep(outer.getCanonicalPath()));
}

Author comment

Began life as a copy of #1004780

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024335
Snippet name: inPhysicalSubdirectory - according to canonical path; not tested
Eternal ID of this version: #1024335/2
Text MD5: af23f6076a71467b17a822b1eb072510
Transpilation MD5: 82bbb7004af7164128956ca8a1dda118
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-04 13:37:53
Source code size: 184 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 289
Version history: 1 change(s)
Referenced in: [show references]