Differences From Artifact [6c1d27db62]:
- File utils/ofzip/TarArchive.m — part of check-in [c5901029a0] at 2016-06-04 22:31:38 on branch trunk — OFZIP: Cast app delegate to OFZIP* (user: js, size: 7926) [annotate] [blame] [check-ins using]
To Artifact [9d595f8962]:
- File
utils/ofzip/TarArchive.m
— part of check-in
[f4a5590b58]
at
2016-07-03 13:29:21
on branch trunk
— Add -[OFTarArchiveEntry description]
Also includes a small typo fix for -[OFZIPArchiveEntry description] and
adds the mode to OFZIP's Tar archive listing. (user: js, size: 7994) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
93 94 95 96 97 98 99 | if (app->_outputLevel >= 1) { OFString *date = [[entry modificationDate] localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"]; [of_stdout writeFormat: @"\tSize: %" PRIu64 @" bytes\n" | | | > > > | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | if (app->_outputLevel >= 1) { OFString *date = [[entry modificationDate] localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"]; [of_stdout writeFormat: @"\tSize: %" PRIu64 @" bytes\n" @"\tMode: %06o\n", [entry size], [entry mode]]; if ([entry owner] != nil) [of_stdout writeFormat: @"\tOwner: %@\n", [entry owner]]; if ([entry group] != nil) [of_stdout writeFormat: @"\tGroup: %@\n", [entry group]]; [of_stdout writeFormat: @"\tModification date: %@\n", date]; } if (app->_outputLevel >= 2) { switch ([entry type]) { case OF_TAR_ARCHIVE_ENTRY_TYPE_FILE: [of_stdout writeLine: @"\tType: Normal file"]; break; |
︙ | ︙ |