MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / StartEntryWithTime

Method StartEntryWithTime

Bcore/src/main/cpp/ziparchive/zip_writer.cc:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144int32_t ZipWriter::StartEntryWithTime(const char* path, size_t flags, time_t time) {
145 uint32_t alignment = 0;
146 if (flags & kAlign32) {
147 flags &= ~kAlign32;
148 alignment = 4;
149 }
150 return StartAlignedEntryWithTime(path, flags, time, alignment);
151}
152
153static void ExtractTimeAndDate(time_t when, uint16_t* out_time, uint16_t* out_date) {
154 /* round up to an even number of seconds */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected