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

Method fileNameEquals

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

Compares two filenames. Unlike java.io.File#equals this method will try to compare the absolute paths and "normalize" the filenames before comparing them. @param f1 the file whose name is to be compared. @param f2 the other file whose name is to be compared. @return true if the f

(File f1, File f2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

areSameMethod · 0.95
zipFileMethod · 0.80
zipFileMethod · 0.80

Calls 3

normalizeMethod · 0.95
equalsMethod · 0.45
getAbsolutePathMethod · 0.45

Tested by

no test coverage detected