| Top |
GFile * thunar_io_jobs_util_next_duplicate_file (ThunarJob *job,GFile *file,ThunarNextFileNameMode name_mode,GError **error);
Determines the GFile for the next copy/link of/to file
.
Copies of a file called X are named "X (copy 1)"
Links follow have a bit different scheme, since the first link is renamed to "link to #" and after that "link Y to X".
If there are errors or the job was cancelled, the return value
will be NULL and error
will be set.
GFile * thunar_io_jobs_util_next_renamed_file (ThunarJob *job,GFile *src_file,GFile *tgt_file,guint n,GError **error);
Determines the GFile for the next copy/move to tgt_file
.
File named X will be renamed to "X (copy 1)".
If there are errors or the job was cancelled, the return value
will be NULL and error
will be set.