@@ -1,8 +1,8 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 - * Jonathan Schleifer + * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 + * Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in @@ -151,32 +151,42 @@ + (void)changeCurrentDirectoryPath: (OFString*)path; /*! * @brief Returns the size of the specified file. * + * @param path The path to the file whose path should be returned + * * @return The size of the specified file */ + (of_offset_t)sizeOfFileAtPath: (OFString*)path; /*! - * @brief Returns the last access time of the specified file. + * @brief Returns the last access time of the specified item. + * + * @param path The path to the file whose last access time should be returned * - * @return The last access time of the specified file + * @return The last access time of the specified item */ + (OFDate*)accessTimeOfItemAtPath: (OFString*)path; /*! - * @brief Returns the last modification time of the specified file. + * @brief Returns the last modification time of the specified item. + * + * @param path The path to the file whose last modification time should be + * returned * - * @return The last modification time of the specified file + * @return The last modification time of the specified item */ + (OFDate*)modificationTimeOfItemAtPath: (OFString*)path; /*! - * @brief Returns the last status change time of the specified file. + * @brief Returns the last status change time of the specified item. + * + * @param path The path to the file whose last status change time should be + * returned * - * @return The last status change time of the specified file + * @return The last status change time of the specified item */ + (OFDate*)statusChangeTimeOfItemAtPath: (OFString*)path; #ifdef OF_HAVE_CHMOD /*! @@ -282,10 +292,11 @@ /*! * @brief Returns the destination of the symbolic link at the specified path. * * @param path The path to the symbolic link + * * @return The destination of the symbolic link at the specified path */ + (OFString*)destinationOfSymbolicLinkAtPath: (OFString*)path; #endif