Differences From Artifact [7815482be6]:
- File
utils/ofarc/ZooArchive.m
— part of check-in
[08eb6b5bca]
at
2024-03-02 09:31:47
on branch trunk
— ofarc: Don't list/extract deleted files by default
Only list them when using -v and only extract them when explicitly
specified on the command line. (user: js, size: 9667) [annotate] [blame] [check-ins using]
To Artifact [cd6d242d9c]:
- File utils/ofarc/ZooArchive.m — part of check-in [e320edd7de] at 2024-03-02 09:49:44 on branch trunk — OFZooArchiveEntry: Add time zone (user: js, size: 10286) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
175 176 177 178 179 180 181 182 183 184 185 186 187 188 | @"CRC16: %[crc16]", @"crc16", CRC16)]; [OFStdOut writeString: @"\t"]; [OFStdOut writeLine: OF_LOCALIZED( @"list_modification_date", @"Modification date: %[date]", @"date", modificationDate)]; if (entry.POSIXPermissions != nil) { OFString *permissionsString = [OFString stringWithFormat: @"%llo", entry.POSIXPermissions .unsignedLongLongValue]; | > > > > > > > > > > > > > > > > > > > > > > | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | @"CRC16: %[crc16]", @"crc16", CRC16)]; [OFStdOut writeString: @"\t"]; [OFStdOut writeLine: OF_LOCALIZED( @"list_modification_date", @"Modification date: %[date]", @"date", modificationDate)]; if (entry.timeZone != nil) { float timeZone = entry.timeZone.floatValue; int hours = (int)timeZone; unsigned char minutes = (timeZone - hours) * 60; OFString *timeZoneString; if (hours > 0) timeZoneString = [OFString stringWithFormat: @"UTC+%02d:%02u", hours, minutes]; else timeZoneString = [OFString stringWithFormat: @"UTC-%02d:%02u", -hours, minutes]; [OFStdOut writeString: @"\t"]; [OFStdOut writeLine: OF_LOCALIZED( @"list_timezone", @"Time zone: %[timezone]", @"timezone", timeZoneString)]; } if (entry.POSIXPermissions != nil) { OFString *permissionsString = [OFString stringWithFormat: @"%llo", entry.POSIXPermissions .unsignedLongLongValue]; |
︙ | ︙ |