MCPcopy Create free account
hub / github.com/L-JINBIN/ApkDataMultiplexing / version

Method version

src/bin/zip/CenterFileHeader.java:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 int version() {
65 if (needZip64()) {
66 return 45;
67 } else if (method == ZipConstant.METHOD_STORED && !isEncrypted()) {
68 return 10;
69 } else {
70 return 20;
71 }
72 }
73
74 @Override
75 public int compareTo(CenterFileHeader o) {

Callers 2

writeHeaderMethod · 0.80

Calls 2

needZip64Method · 0.95
isEncryptedMethod · 0.95

Tested by

no test coverage detected