mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-17 03:59:19 +09:00
remove unnecessary arguments for StorageExt::mount_path
This commit is contained in:
parent
ed43d819d6
commit
0e8bd6b4c7
7 changed files with 14 additions and 19 deletions
|
@ -43,7 +43,7 @@ impl BackupTarget {
|
|||
|
||||
pub fn path(&self, storages: &Storages, device: &Device) -> Result<PathBuf> {
|
||||
let parent = storages.get(&self.storage).unwrap();
|
||||
let parent_path = parent.mount_path(device, storages)?;
|
||||
let parent_path = parent.mount_path(device)?;
|
||||
Ok(parent_path.join(self.path.clone()))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue