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

Method isUpToDate

src/main/org/apache/tools/ant/taskdefs/SignJar.java:611–637  ·  view source on GitHub ↗

Compare a jar file with its corresponding signed jar. The logic for this is complex, and best explained in the source itself. Essentially if either file doesn't exist, or the destfile has an out of date timestamp, then the return value is false. If we are signing ourself, the check {@link

(File jarFile, File signedjarFile)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

signOneJarMethod · 0.95
testModificationTestsMethod · 0.45

Calls 4

isForceMethod · 0.95
isSignedMethod · 0.95
existsMethod · 0.45
equalsMethod · 0.45

Tested by 1

testModificationTestsMethod · 0.36