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

Method normalize

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

"Normalize" the given absolute path. This includes: Uppercase the drive letter if there is one. Remove redundant slashes after the drive spec. Resolve all ./, .\, ../ and ..\ sequences. DOS style paths that start with a drive letter will have

(final String path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

executeMethod · 0.95
resolveFileMethod · 0.95
toVMSPathMethod · 0.95
removeLeadingPathMethod · 0.95
isLeadingPathMethod · 0.95
fromURIMethod · 0.95
fileNameEqualsMethod · 0.95
isSameFileMethod · 0.95
renameMethod · 0.95
hasErrorInCaseMethod · 0.95
setBaseDirMethod · 0.80
processArgsMethod · 0.80

Calls 8

dissectMethod · 0.95
pushMethod · 0.80
hasMoreTokensMethod · 0.80
nextTokenMethod · 0.80
sizeMethod · 0.65
equalsMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45