forked from brl/citadel-tools
sort partitions by path
This commit is contained in:
parent
91530279cf
commit
851da8a98c
@ -22,6 +22,7 @@ impl Partition {
|
|||||||
let partition = Partition::load(&path)?;
|
let partition = Partition::load(&path)?;
|
||||||
v.push(partition);
|
v.push(partition);
|
||||||
}
|
}
|
||||||
|
v.sort_unstable_by(|a,b| a.path().cmp(b.path()));
|
||||||
Ok(v)
|
Ok(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user