Function libblkid_rs::get_partition_name[][src]

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 indicies to types without duplicating logic inside and outside of the library.