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

Method getNonFileSetResourcesToAdd

src/main/org/apache/tools/ant/taskdefs/Zip.java:1481–1544  ·  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,
                                                       boolean needsUpdate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getResourcesToAddMethod · 0.95

Calls 9

isEmptyMethod · 0.95
getFileMethod · 0.95
setMethod · 0.65
existsMethod · 0.45
asMethod · 0.45
equalsMethod · 0.45
getLocationMethod · 0.45

Tested by

no test coverage detected