Differences From Artifact [f3d3ca44b0]:
- File
src/OFString.h
— part of check-in
[7c4179ab9b]
at
2013-08-14 19:17:10
on branch trunk
— +[stringWithPath:] -> +[pathWithComponents:].
This removes -[initWithPath:,...], so that it's finally possible to use
-[initWithPath:] for many places where a workaround like
-[initWithDirectoryPath:] was required before. (user: js, size: 32716) [annotate] [blame] [check-ins using]
To Artifact [2d8cbb5422]:
- File src/OFString.h — part of check-in [0222de872b] at 2013-08-25 20:59:20 on branch trunk — Add -[OFString stringByDeletingPathExtension]. (user: js, size: 32913) [annotate] [blame] [check-ins using]
︙ | |||
319 320 321 322 323 324 325 | 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | - + | /*! * @brief Creates a path from the specified path components. * * @param components An array of components for the path * @return A new autoreleased OFString */ |
︙ | |||
878 879 880 881 882 883 884 885 886 887 888 889 890 891 | 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 | + + + + + + + | /*! * @brief Returns the directory name of the path. * * @return The directory name of the path */ - (OFString*)stringByDeletingLastPathComponent; /*! * @brief Returns a new string with the file extension of the path removed. * * @return A new string with the file extension of the path removed */ - (OFString*)stringByDeletingPathExtension; /*! * @brief Returns the path with relative sub paths resolved. * * @return The path with relative sub paths resolved */ - (OFString*)stringByStandardizingPath; |
︙ |