[][src]Function mdbook::utils::fs::copy_files_except_ext

pub fn copy_files_except_ext(
    from: &Path,
    to: &Path,
    recursive: bool,
    avoid_dir: Option<&PathBuf>,
    ext_blacklist: &[&str]
) -> Result<()>

Copies all files of a directory to another one except the files with the extensions given in the ext_blacklist array