Differences From Artifact [77923608cb]:
- File
src/OFZIPArchive.m
— part of check-in
[3f34a360bf]
at
2017-08-05 12:27:30
on branch trunk
— Add OFMutableTarArchiveEntry
This is in preparation for OFTarArchive write support. (user: js, size: 14326) [annotate] [blame] [check-ins using]
To Artifact [1114c696d8]:
- File src/OFZIPArchive.m — part of check-in [ccf8ecbb83] at 2017-08-05 17:24:16 on branch trunk — OFGZIPStream: Prepare for adding write support (user: js, size: 14478) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
166 167 168 169 170 171 172 | _stream = [stream retain]; if ([mode isEqual: @"r"]) { _mode = OF_ZIP_ARCHIVE_MODE_READ; [self of_readZIPInfo]; [self of_readEntries]; | > > > > | | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | _stream = [stream retain]; if ([mode isEqual: @"r"]) { _mode = OF_ZIP_ARCHIVE_MODE_READ; [self of_readZIPInfo]; [self of_readEntries]; } else if ([mode isEqual: @"w"] || [mode isEqual: @"a"]) @throw [OFNotImplementedException exceptionWithSelector: _cmd object: self]; else @throw [OFInvalidArgumentException exception]; } @catch (id e) { [self release]; @throw e; } return self; |
︙ | ︙ |