ObjFW  Diff

Differences From Artifact [4cbfda525d]:

To Artifact [78bb0798b0]:


175
176
177
178
179
180
181



182
183
184
185
186
187
188
189
190
191
192
193
194



195
196
197
198
199
200
201
+ (void)changeOwnerOfItemAtPath: (OFString*)path
			  owner: (OFString*)owner
			  group: (OFString*)group;
#endif

/*!
 * @brief Copies a file, directory or symlink (if supported by the OS).



 *
 * 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
		toPath: (OFString*)destination;

/*!
 * @brief Renames an item.



 *
 * @param source The item to rename
 * @param destination The new name for the item
 */
+ (void)renameItemAtPath: (OFString*)source
		  toPath: (OFString*)destination;








>
>
>













>
>
>







175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
+ (void)changeOwnerOfItemAtPath: (OFString*)path
			  owner: (OFString*)owner
			  group: (OFString*)group;
#endif

/*!
 * @brief Copies a file, directory or symlink (if supported by the OS).
 *
 * The destination path must be a full path, which means it must include the
 * name of the item.
 *
 * 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
		toPath: (OFString*)destination;

/*!
 * @brief Renames an item.
 *
 * The destination path must be a full path, which means it must include the
 * name of the item.
 *
 * @param source The item to rename
 * @param destination The new name for the item
 */
+ (void)renameItemAtPath: (OFString*)source
		  toPath: (OFString*)destination;