@@ -164,11 +164,11 @@ #ifdef OF_HAVE_CHOWN /*! * @brief Changes the owner of an item. * - * This method is not available on Windows. + * This method is not available on some systems, most notably Windows. * * @param path The path to the item whose owner should be changed * @param owner The new owner for the item * @param group The new group for the item */ @@ -178,12 +178,13 @@ #endif /*! * @brief Copies a file, directory or symlink (if supported by the OS). * - * If an item already exists, it is replaced. This is also the case if a - * directory is copied and an item already exists in the destination directory. + * If an item already exists, the copy operation fails. This is also the case + * if a directory is copied and an item already exists in the destination + * directory. * * @param source The file, directory or symlink to copy * @param destination The destination path */ + (void)copyItemAtPath: (OFString*)source @@ -209,11 +210,11 @@ #ifdef OF_HAVE_LINK /*! * @brief Creates a hard link for the specified item. * - * Not available on Windows. + * This method is not available on some systems, most notably Windows. * * @param source The path of the item for which a link should be created * @param destination The path of the item which should link to the source */ + (void)linkItemAtPath: (OFString*)source @@ -222,11 +223,11 @@ #ifdef OF_HAVE_SYMLINK /*! * @brief Creates a symbolic link for an item. * - * Not available on Windows. + * This method is not available on some systems, most notably Windows. * * @param destination The path of the item which should symbolically link to the * source * @param source The path of the item for which a symbolic link should be * created