Differences From Artifact [bad7a67060]:
- File
src/OFFile.h
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 8029) [annotate] [blame] [check-ins using]
To Artifact [2f0e7153ad]:
- File src/OFFile.h — part of check-in [c01ed004b0] at 2013-04-26 22:25:13 on branch trunk — Better checks for functions used in OFFile. (user: js, size: 8008) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
144 145 146 147 148 149 150 | /*! * @brief Returns the date of the last modification of the file. * * @return The date of the last modification of the file */ + (OFDate*)modificationDateOfFileAtPath: (OFString*)path; | | | | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | /*! * @brief Returns the date of the last modification of the file. * * @return The date of the last modification of the file */ + (OFDate*)modificationDateOfFileAtPath: (OFString*)path; #ifdef OF_HAVE_CHMOD /*! * @brief Changes the mode of a file. * * Only changes read-only flag on Windows. * * @param path The path to the file of which the mode should be changed as a * string * @param mode The new mode for the file */ + (void)changeModeOfFileAtPath: (OFString*)path mode: (mode_t)mode; #endif #ifdef OF_HAVE_CHOWN /*! * @brief Changes the owner of a file. * * Not available on Windows. * * @param path The path to the file of which the owner should be changed as a * string |
︙ | ︙ | |||
206 207 208 209 210 211 212 | /*! * @brief Deletes an empty directory. * * @param path The path to the directory which should be deleted as a string */ + (void)deleteDirectoryAtPath: (OFString*)path; | | | | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | /*! * @brief Deletes an empty directory. * * @param path The path to the directory which should be deleted as a string */ + (void)deleteDirectoryAtPath: (OFString*)path; #ifdef OF_HAVE_LINK /*! * @brief Creates a hard link for a file. * * Not available on Windows. * * @param source The path to the file of which should be linked as a string * @param destination The path to where the file should be linked as a string */ + (void)linkFileAtPath: (OFString*)source toPath: (OFString*)destination; #endif #ifdef OF_HAVE_SYMLINK /*! * @brief Creates a symbolink link for a file. * * Not available on Windows. * * @param source The path to the file of which should be symlinked as a string * @param destination The path to where the file should be symlinked as a string |
︙ | ︙ |