MCPcopy Create free account
hub / github.com/CtripMobile/DynamicAPK / addCommon

Method addCommon

caapt/ZipFile.cpp:358–530  ·  view source on GitHub ↗

* Add a new file to the archive. * * This requires creating and populating a ZipEntry structure, and copying * the data into the file at the appropriate position. The "appropriate * position" is the current location of the central directory, which we * casually overwrite (we can put it back later). * * If we were concerned about safety, we would want to make all changes * in a temp file a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

errnoToStatusFunction · 0.85
sizeMethod · 0.80
initNewMethod · 0.80
setDataInfoMethod · 0.80
setModWhenMethod · 0.80
setLFHOffsetMethod · 0.80
writeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected