Function tar_folder

Source
pub(crate) fn tar_folder(
    tar_path: &PathBuf,
    path_to_compress: &PathBuf,
    folder_name: &String,
) -> Result<(), Error>
Expand description

ยงTars and Gzips the specified folder

This creates a tar file at tar_path, compresses everything in path_to_compress and names it with folder_name