Function libblkid_rs::get_partition_name
source · pub fn get_partition_name(index: usize) -> Result<&'static str>
Expand description
Get the name of a partition type at the given index in the libblkid internal state.
This method in libblkid exposes implementation details of the library. There is no way to map indices to types without duplicating logic inside and outside of the library.