1
0
forked from brl/citadel-tools

sort partitions by path

This commit is contained in:
Bruce Leidl 2019-01-15 16:53:39 -05:00
parent 91530279cf
commit 851da8a98c

View File

@ -22,6 +22,7 @@ impl Partition {
let partition = Partition::load(&path)?;
v.push(partition);
}
v.sort_unstable_by(|a,b| a.path().cmp(b.path()));
Ok(v)
}