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

Method removeLeadingPath

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

Removes a leading path from a second path. This method uses #normalize under the covers and does not resolve symbolic links or Windows junctions. @param leading The leading path, must not be null, must be absolute. @param path The path to remove from, must not be null, must be absol

(File leading, File path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

checkIncludePatternsMethod · 0.80
getNameMethod · 0.80
findFileMethod · 0.80
lookForPackageInfosMethod · 0.80
setFileMethod · 0.80
evalMethod · 0.80
deleteSymbolicLinkMethod · 0.80
testRemoveLeadingPathMethod · 0.80

Calls 6

normalizeMethod · 0.95
substringMethod · 0.80
getAbsolutePathMethod · 0.45
equalsMethod · 0.45
endsWithMethod · 0.45
lengthMethod · 0.45

Tested by 1

testRemoveLeadingPathMethod · 0.64