Differences From Artifact [a89fad782a]:
- File src/OFFileManager.h — part of check-in [dd467ddb20] at 2017-10-29 01:41:22 on branch trunk — OFFileManager: Add URL versions of all methods (user: js, size: 17201) [annotate] [blame] [check-ins using]
To Artifact [b207ab823b]:
- File
src/OFFileManager.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 17114) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 | /*! * @class OFFileManager OFFileManager.h ObjFW/OFFileManager.h * * @brief A class which provides management for files, e.g. reading contents of * directories, deleting files, renaming files, etc. */ @interface OFFileManager: OFObject /*! * @brief Returns the default file manager. */ + (OFFileManager *)defaultManager; | > > > > > > > > > > < < < < < < < < < < < < < < | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | /*! * @class OFFileManager OFFileManager.h ObjFW/OFFileManager.h * * @brief A class which provides management for files, e.g. reading contents of * directories, deleting files, renaming files, etc. */ @interface OFFileManager: OFObject /*! * The path of the current working directory. */ @property (readonly, nonatomic) OFString *currentDirectoryPath; /*! * The URL of the current working directory. */ @property (readonly, nonatomic) OFURL *currentDirectoryURL; /*! * @brief Returns the default file manager. */ + (OFFileManager *)defaultManager; /*! * @brief Checks whether a file exists at the specified path. * * @param path The path to check * @return A boolean whether there is a file at the specified path */ - (bool)fileExistsAtPath: (OFString *)path; |
︙ | ︙ |