Differences From Artifact [b3a4d03434]:
- File
src/OFURI.h
— part of check-in
[3e455c4839]
at
2022-10-11 19:27:09
on branch trunk
— OFURI: Make scheme and path nonnull
This is as per the RFC, which says the scheme and path can never be
missing, while the path can be empty. (user: js, size: 11236) [annotate] [blame] [check-ins using] [more...]
To Artifact [90c837e175]:
- File src/OFURI.h — part of check-in [a62b254fda] at 2022-10-21 13:07:59 on branch trunk — Document more exceptions (user: js, size: 11384) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
197 198 199 200 201 202 203 204 205 206 207 208 209 210 | * @brief Creates a new URI with the specified local file path. * * If a directory exists at the specified path, a slash is appended if there is * no slash yet. * * @param path The local file path * @return A new, autoreleased OFURI */ + (instancetype)fileURIWithPath: (OFString *)path; /** * @brief Creates a new URI with the specified local file path. * * @param path The local file path | > | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | * @brief Creates a new URI with the specified local file path. * * If a directory exists at the specified path, a slash is appended if there is * no slash yet. * * @param path The local file path * @return A new, autoreleased OFURI * @throw OFInvalidFormatException The specified path is not a valid path */ + (instancetype)fileURIWithPath: (OFString *)path; /** * @brief Creates a new URI with the specified local file path. * * @param path The local file path |
︙ | ︙ | |||
244 245 246 247 248 249 250 251 252 253 254 255 256 257 | * path. * * If a directory exists at the specified path, a slash is appended if there is * no slash yet. * * @param path The local file path * @return An initialized OFURI */ - (instancetype)initFileURIWithPath: (OFString *)path; /** * @brief Initializes an already allocated OFURI with the specified local file * path. * | > | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | * path. * * If a directory exists at the specified path, a slash is appended if there is * no slash yet. * * @param path The local file path * @return An initialized OFURI * @throw OFInvalidFormatException The specified path is not a valid path */ - (instancetype)initFileURIWithPath: (OFString *)path; /** * @brief Initializes an already allocated OFURI with the specified local file * path. * |
︙ | ︙ |