@@ -13,10 +13,11 @@ #import "OFSeekableStream.h" @class OFString; @class OFArray; +@class OFDate; /** * \brief A class which provides functions to read, write and manipulate files. */ @interface OFFile: OFSeekableStream @@ -89,10 +90,15 @@ * * \param path The new directory to change to */ + (void)changeToDirectory: (OFString*)path; +/** + * \return The date of the last modification of the file + */ ++ (OFDate*)modificationDateOfFile: (OFString*)path; + /** * Changes the mode of a file. * * Only changes read-only flag on Windows. *