format code

This commit is contained in:
mpostma 2021-03-24 11:29:11 +01:00
parent 1f16c8d224
commit 4041d9dc48
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
18 changed files with 60 additions and 61 deletions

View file

@ -2,7 +2,7 @@ use std::fs::{create_dir_all, File};
use std::io::Write;
use std::path::Path;
use flate2::{Compression, write::GzEncoder, read::GzDecoder};
use flate2::{read::GzDecoder, write::GzEncoder, Compression};
use tar::{Archive, Builder};
pub fn to_tar_gz(src: impl AsRef<Path>, dest: impl AsRef<Path>) -> anyhow::Result<()> {