Differences From Artifact [49a8dc5d2b]:
- File
utils/ofzip/TarArchive.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: 11153) [annotate] [blame] [check-ins using]
To Artifact [50de2565fd]:
- File
utils/ofzip/TarArchive.m
— part of check-in
[41949ecc65]
at
2017-08-05 17:48:55
on branch trunk
— ofzip: Support for writing files
Not supported for any file formats, yet. (user: js, size: 11228) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
44 45 46 47 48 49 50 51 | + (void)initialize { if (self == [TarArchive class]) app = (OFZIP *)[[OFApplication sharedApplication] delegate]; } + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream { | > | > > | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | + (void)initialize { if (self == [TarArchive class]) app = (OFZIP *)[[OFApplication sharedApplication] delegate]; } + (instancetype)archiveWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode { return [[[self alloc] initWithStream: stream mode: mode] autorelease]; } - initWithStream: (OF_KINDOF(OFStream *))stream mode: (OFString *)mode { self = [super init]; @try { _archive = [[OFTarArchive alloc] initWithStream: stream mode: mode]; } @catch (id e) { [self release]; @throw e; } return self; } |
︙ | ︙ |