mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-18 12:39:19 +09:00
add backup related types and cmd arguments
- fix some typos & format
This commit is contained in:
parent
d1f7a4787e
commit
56563a0e8b
10 changed files with 244 additions and 34 deletions
|
@ -30,7 +30,7 @@ impl Directory {
|
|||
/// - `name`: id
|
||||
/// - `parent`: where the directory locates.
|
||||
/// - `relative_path`: path from root of the parent storage.
|
||||
/// - `notes`: supplimental notes.
|
||||
/// - `notes`: supplemental notes.
|
||||
fn new(
|
||||
name: String,
|
||||
parent: String,
|
||||
|
|
|
@ -192,7 +192,7 @@ pub fn select_physical_storage(
|
|||
device: Device,
|
||||
) -> Result<PhysicalDrivePartition> {
|
||||
trace!("select_physical_storage");
|
||||
// get disk info fron sysinfo
|
||||
// get disk info from sysinfo
|
||||
let sys_disks =
|
||||
sysinfo::System::new_with_specifics(sysinfo::RefreshKind::new().with_disks_list());
|
||||
trace!("refresh");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue