| Crates.io | gpt-partition-type |
| lib.rs | gpt-partition-type |
| version | 0.1.0 |
| created_at | 2021-08-30 22:03:46.868826+00 |
| updated_at | 2021-08-30 22:03:46.868826+00 |
| description | A Rust library for getting information about a GPT partition from its partition type GUID |
| homepage | |
| repository | https://github.com/jamcleod/gpt-partition-type |
| max_upload_size | |
| id | 444528 |
| size | 18,205 |
A Rust library for getting information about a GPT partition from its partition type GUID.
use gpt_partition_type::{PartitionDescription, parse_guid};
assert_eq!(
parse_guid("0FC63DAF-8483-4772-8E79-3D69D8477DE4").description().unwrap(),
PartitionDescription {
os: "Linux",
type_description: "Linux filesystem data"
}
);