mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-22 06:40:12 +09:00
fixup! replace HashMap with BTreeMap in Storages and Backups
This commit is contained in:
parent
feb51a5653
commit
df0ce53d84
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||||
|
|
Loading…
Reference in a new issue