fixup! replace HashMap with BTreeMap in Storages and Backups

This commit is contained in:
qwjyh 2024-05-21 14:44:53 +09:00
parent feb51a5653
commit df0ce53d84

View file

@ -135,7 +135,7 @@ pub trait StorageExt {
fn local_info(&self, device: &devices::Device) -> Option<&local_info::LocalInfo>; fn local_info(&self, device: &devices::Device) -> Option<&local_info::LocalInfo>;
/// Get mount path of `self` on `device`. /// Get mount path of `self` on `device`.
/// `storages` is a `HashMap` with key of storage name and value of the storage. /// `storages` is a `BTreeMap` with key of storage name and value of the storage.
fn mount_path(&self, device: &devices::Device) -> Result<path::PathBuf>; fn mount_path(&self, device: &devices::Device) -> Result<path::PathBuf>;
/// Add local info of `device` to `self`. /// Add local info of `device` to `self`.