mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
chore: Update deps and adapt to rustic_core changes
This commit is contained in:
parent
6fffaad1cc
commit
07f92d882e
583
Cargo.lock
generated
583
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -275,7 +275,7 @@ impl Configurable<RusticConfig> for EntryPoint {
|
||||
fn get_repository(repo_opts: &AllRepositoryOptions) -> Result<Repository<ProgressOptions, ()>> {
|
||||
let po = RUSTIC_APP.config().global.progress_options;
|
||||
let backends = repo_opts.be.to_backends()?;
|
||||
let repo = Repository::new_with_progress(&repo_opts.repo, backends, po)?;
|
||||
let repo = Repository::new_with_progress(&repo_opts.repo, &backends, po)?;
|
||||
Ok(repo)
|
||||
}
|
||||
|
||||
|
||||
@ -181,7 +181,7 @@ impl BackupCmd {
|
||||
|
||||
let sources = match (self.cli_sources.is_empty(), config_opts.is_empty()) {
|
||||
(false, _) => {
|
||||
let item = PathList::from_strings(&self.cli_sources).sanitize()?;
|
||||
let item = PathList::from_iter(&self.cli_sources).sanitize()?;
|
||||
vec![item]
|
||||
}
|
||||
(true, false) => {
|
||||
|
||||
@ -79,7 +79,7 @@ impl WebDavCmd {
|
||||
|
||||
let vfs = if let Some(snap) = &self.snapshot_path {
|
||||
let node = repo.node_from_snapshot_path(snap, sn_filter)?;
|
||||
Vfs::from_dirnode(node)
|
||||
Vfs::from_dir_node(&node)
|
||||
} else {
|
||||
let snapshots = repo.get_matching_snapshots(sn_filter)?;
|
||||
let (latest, identical) = if self.symlinks {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user