ObjFW  Diff

Differences From Artifact [35a5c807f1]:

To Artifact [31d02bd727]:


174
175
176
177
178
179
180
181

182



183

184
185
186

187
188
189
190
191
192
193
174
175
176
177
178
179
180

181
182
183
184
185

186
187
188

189
190
191
192
193
194
195
196







-
+

+
+
+
-
+


-
+







 */
+ (void)changeOwnerOfItemAtPath: (OFString*)path
			  owner: (OFString*)owner
			  group: (OFString*)group;
#endif

/*!
 * @brief Copies a file.
 * @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.
 *
 * @param source The file to copy
 * @param source The file, directory or symlink to copy
 * @param destination The destination path
 */
+ (void)copyFileAtPath: (OFString*)source
+ (void)copyItemAtPath: (OFString*)source
		toPath: (OFString*)destination;

/*!
 * @brief Renames an item.
 *
 * @param source The item to rename
 * @param destination The new name for the item