Differences From Artifact [e05c0fc81e]:
- File src/platform/libfat/OFString+PathAdditions.m — part of check-in [4ad0c363f3] at 2022-08-30 00:48:41 on branch trunk — OFObject: Small API change (user: js, size: 7804) [annotate] [blame] [check-ins using]
To Artifact [d2753d0886]:
- File
src/platform/libfat/OFString+PathAdditions.m
— part of check-in
[114576fe94]
at
2022-09-04 18:27:46
on branch trunk
— Remove -[OFString stringByPrependingString:]
The same can be achieved using -[OFString stringByAppendingString:] and
swapping the order of arguments. (user: js, size: 7804) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
340 341 342 343 344 345 346 | { return ([self hasSuffix: @"/"] || [OFFileURLHandler of_directoryExistsAtPath: self]); } - (OFString *)of_pathToURLPathWithURLEncodedHost: (OFString **)URLEncodedHost { | | | 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 | { return ([self hasSuffix: @"/"] || [OFFileURLHandler of_directoryExistsAtPath: self]); } - (OFString *)of_pathToURLPathWithURLEncodedHost: (OFString **)URLEncodedHost { return [@"/" stringByApppendingString: self]; } - (OFString *)of_URLPathToPathWithURLEncodedHost: (OFString *)URLEncodedHost { OFString *path = self; if (path.length > 1 && [path hasSuffix: @"/"]) |
︙ | ︙ |