MCPcopy Create free account
hub / github.com/apache/ant / isLeadingPath

Method isLeadingPath

src/main/org/apache/tools/ant/util/FileUtils.java:1300–1317  ·  view source on GitHub ↗

Learn whether one path "leads" another. This method uses #normalize under the covers and does not resolve symbolic links or Windows junctions. If either path tries to go beyond the file system root (i.e. it contains more ".." segments than can be travelled up) the method will ret

(File leading, File path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 7

normalizeMethod · 0.95
getResolvedPathMethod · 0.95
getAbsolutePathMethod · 0.45
equalsMethod · 0.45
endsWithMethod · 0.45
containsMethod · 0.45
getParentFileMethod · 0.45