1 #ifndef RECURSIVE_FILE_COPY_CLASS
2 #define RECURSIVE_FILE_COPY_CLASS
34 OKAY = basis::common::OKAY,
39 FAILURE = basis::common::FAILURE
Provides a dynamically resizable ASCII character string.
static const astring & empty_string()
useful wherever empty strings are needed, e.g., function defaults.
Outcomes describe the state of completion for an operation.
Copies entire hierarchies in the file system from one place to another.
DEFINE_CLASS_NAME("recursive_file_copy")
static const char * outcome_name(const basis::outcome &to_name)
static basis::outcome copy_hierarchy(int transfer_mode, const basis::astring &source_dir, const basis::astring &target_dir, const structures::string_array &includes, const basis::astring &source_start=basis::astring::empty_string())
copies a directory hierarchy starting at "source_dir" into "target_dir".
virtual ~recursive_file_copy()
An array of strings with some additional helpful methods.