Function libparted::round_to_nearest
[−]
[src]
pub fn round_to_nearest(sector: i64, grain_size: i64) -> i64
Rounds a number to the closest number that is a multiple of the grain_size.