Skip to content

Commit

Permalink
chore(deps): update rustic_core (#1309)
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan authored Oct 9, 2024
1 parent 41985e3 commit 64e1ebb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rustdoc-args = ["--document-private-items", "--generate-link-to-definition"]
[dependencies]
abscissa_core = { version = "0.7.0", default-features = false, features = ["application"] }
rustic_backend = { version = "0.4.1", features = ["cli"] }
rustic_core = { version = "0.5.1", features = ["cli"] }
rustic_core = { version = "0.5.2", features = ["cli"] }

# allocators
jemallocator-global = { version = "0.3.2", optional = true }
Expand Down
8 changes: 4 additions & 4 deletions src/commands/prune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ impl PruneCmd {
fn inner_run(&self, repo: CliOpenRepo) -> Result<()> {
let config = RUSTIC_APP.config();

let pruner = repo.prune_plan(&self.opts)?;
let prune_plan = repo.prune_plan(&self.opts)?;

print_stats(&pruner.stats);
print_stats(&prune_plan.stats);

if config.global.dry_run {
repo.warm_up(pruner.repack_packs().into_iter())?;
repo.warm_up(prune_plan.repack_packs().into_iter())?;
} else {
pruner.do_prune(&repo, &self.opts)?;
repo.prune(&self.opts, prune_plan)?;
}

Ok(())
Expand Down

0 comments on commit 64e1ebb

Please sign in to comment.