| 142 | } |
| 143 | |
| 144 | int32_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 | |
| 153 | static void ExtractTimeAndDate(time_t when, uint16_t* out_time, uint16_t* out_date) { |
| 154 | /* round up to an even number of seconds */ |
nothing calls this directly
no outgoing calls
no test coverage detected