Differences From Artifact [d7ca0d5892]:
- File
src/OFTarArchive.h
— part of check-in
[6c08b57605]
at
2022-10-06 23:33:25
on branch trunk
— OFTarArchive: Make returned streams retain archive
In order to not create a retain cycle, this changes the reference to the
last returned stream to an unsafe unretained one that the stream itself
resets to nil in its dealloc. (user: js, size: 5282) [annotate] [blame] [check-ins using]
To Artifact [4a06438b7d]:
- File src/OFTarArchive.h — part of check-in [a8bc0b31d0] at 2022-10-11 00:28:23 on branch trunk — +[URIForFile{ -> Path}:inArchive{ -> WithURI}:] (user: js, size: 5285) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
84 85 86 87 88 89 90 | + (instancetype)archiveWithURI: (OFURI *)URI mode: (OFString *)mode; /** * @brief Creates a URI for accessing a the specified file within the specified * tar archive. * * @param path The path of the file within the archive | | | | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + (instancetype)archiveWithURI: (OFURI *)URI mode: (OFString *)mode; /** * @brief Creates a URI for accessing a the specified file within the specified * tar archive. * * @param path The path of the file within the archive * @param URI The URI of the archive * @return A URI for accessing the specified file within the specified tar * archive */ + (OFURI *)URIForFilePath: (OFString *)path inArchiveWithURI: (OFURI *)URI; - (instancetype)init OF_UNAVAILABLE; /** * @brief Initializes an already allocated OFTarArchive object with the * specified stream. * |
︙ | ︙ |