Differences From Artifact [4c749d1fe6]:
- File src/OFTarArchive.m — part of check-in [55858a10bb] at 2022-10-08 23:47:33 on branch trunk — Move all archive URI handling to a single file (user: js, size: 10970) [annotate] [blame] [check-ins using]
To Artifact [e86038baec]:
- File
src/OFTarArchive.m
— part of check-in
[9b3cae6cba]
at
2022-10-09 16:33:24
on branch trunk
— Drop of- prefix from URI schemes
It's generally uncommon to prefix those.
Additionally, it might be worthwhile to try to get those actually
registered, which requires usage. (user: js, size: 10967) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
77 78 79 80 81 82 83 | + (instancetype)archiveWithURI: (OFURI *)URI mode: (OFString *)mode { return [[[self alloc] initWithURI: URI mode: mode] autorelease]; } + (OFURI *)URIForFile: (OFString *)path inArchive: (OFURI *)archive { | | | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | + (instancetype)archiveWithURI: (OFURI *)URI mode: (OFString *)mode { return [[[self alloc] initWithURI: URI mode: mode] autorelease]; } + (OFURI *)URIForFile: (OFString *)path inArchive: (OFURI *)archive { return OFArchiveURIHandlerURIForFileInArchive(@"tar", path, archive); } - (instancetype)init { OF_INVALID_INIT_METHOD } |
︙ | ︙ |