move_dir

Function move_dir 

Source
pub fn move_dir(
    target: &Path,
    dest: &Path,
    mode: &impl TestingMode,
    stream: &mut impl Write,
    force: bool,
) -> Result<bool, Error>
Expand description

Move a target which is a directory to a given destination, copying if necessary. Returns true always, as the creation of the directory is enough to mark it as successful.