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

Method getResourcesToAdd

src/main/org/apache/tools/ant/taskdefs/Zip.java:1244–1287  ·  view source on GitHub ↗

Collect the resources that are newer than the corresponding entries (or missing) in the original archive. If we are going to recreate the archive instead of updating it, all resources should be considered as new, if a single one is. Because of this, subclasses overriding this method must call <

(final ResourceCollection[] rcs,
                                             final File zipFile,
                                             final boolean needsUpdate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMainMethod · 0.95

Calls 15

isOutOfDateMethod · 0.95
getResourcesToAddMethod · 0.95
grabResourcesMethod · 0.95
isEmptyMethod · 0.95
logWhenWritingMethod · 0.95
setToMethod · 0.95
setFromMethod · 0.95
setToMethod · 0.95
getFullpathMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected