f_status_t status = f_directory_exists(source);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
struct stat source_stat;
f_status_t status = f_directory_exists(source);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
status = f_directory_exists(destination);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
f_string_static_t static_source = macro_f_string_static_t_initialize2(source.string, source.used);
f_string_static_t static_destination = macro_f_string_static_t_initialize2(destination.string, destination.used);
f_status_t status = f_directory_exists(source);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
status = f_directory_exists(destination);
if (F_status_is_error(status)) return status;
f_status_t status = f_directory_exists(source);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
status = f_directory_exists(destination);
if (F_status_is_error(status)) return status;
- if (status == F_false) return F_status_set_error(F_directory);
+ if (status == F_false) return F_status_set_error(F_directory_not);
f_string_static_t static_source = macro_f_string_static_t_initialize2(source.string, source.used);
f_string_static_t static_destination = macro_f_string_static_t_initialize2(destination.string, destination.used);
* F_none on success.
* F_data_not if source.used or destination.used is 0.
*
+ * F_directory_not (with error bit) if the source directory does not exist.
* F_failure (with error bit) for any other failure, failures might be populated with individual status codes.
*
* Errors (with error bit) from: f_directory_create().
* F_none on success.
* F_data_not if source.used or destination.used is 0.
*
+ * F_directory_not (with error bit) if either the source or destination directory does not exist.
* F_failure (with error bit) for any other failure, failures might be populated with individual status codes.
*
* Errors (with error bit) from: f_directory_exists().
* F_none on success.
* F_data_not if source.used or destination.used is 0.
*
+ * F_directory_found (with error bit) if the destination directory is found and recurse.exclusive is TRUE.
+ * F_directory_not (with error bit) if the source directory does not exist.
* F_failure (with error bit) for any other failure, failures might be populated with individual status codes.
*
* Errors (with error bit) from: f_directory_create().
* F_none on success.
* F_data_not if source.used or destination.used is 0.
*
+ * F_directory_not (with error bit) if either the source or the destination directory does not exist.
* F_failure (with error bit) for any other failure, failures might be populated with individual status codes.
*
* Errors (with error bit) from: f_directory_exists().