Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfowler committed Aug 6, 2023
1 parent 83a41cb commit 8716c05
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 84 deletions.
155 changes: 73 additions & 82 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/precompress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl Compressor {
}
}

pub(crate) fn precompress(&self, path: &PathBuf) {
pub(crate) fn precompress(&self, path: &Path) {
let walk = ignore::WalkBuilder::new(path)
.ignore(false)
.git_exclude(false)
Expand Down Expand Up @@ -231,7 +231,7 @@ impl Compressor {
stats
}

fn encode_file(ctx: &mut Context, alg: Algorithm, path: &PathBuf) -> Result<(u64, u64)> {
fn encode_file(ctx: &mut Context, alg: Algorithm, path: &Path) -> Result<(u64, u64)> {
let mut src = File::open(path)?;
let src_size = src.metadata()?.len();

Expand Down

0 comments on commit 8716c05

Please sign in to comment.