Home
last modified time | relevance | path

Searched refs:PartitionType (Results 1 – 4 of 4) sorted by relevance

/DADK/dadk-config/src/rootfs/
H A Dpartition.rs6 pub partition_type: PartitionType,
10 pub enum PartitionType { enum
28 self.partition_type != PartitionType::None in should_create_partitioned_image()
38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type()
39 (r#"type = "mbr""#, PartitionType::Mbr), in test_parse_partition_type()
40 (r#"type = "gpt""#, PartitionType::Gpt), in test_parse_partition_type()
H A Dpartition.rs6 pub partition_type: PartitionType,
10 pub enum PartitionType { enum
28 self.partition_type != PartitionType::None in image_should_be_partitioned()
38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type()
39 (r#"type = "mbr""#, PartitionType::Mbr), in test_parse_partition_type()
40 (r#"type = "gpt""#, PartitionType::Gpt), in test_parse_partition_type()
/DADK/dadk-config/tests/
H A Dtest_rootfs_config.rs3 rootfs::{partition::PartitionType, RootFSConfigFile},
21 assert_eq!(manifest.partition.partition_type, PartitionType::None); in test_load_rootfs_manifest_template()
/DADK/dadk/src/actions/rootfs/
H A Ddisk_img.rs5 use dadk_config::rootfs::{fstype::FsType, partition::PartitionType};
277 fn create_partitioned_image(disk_image_path: &PathBuf, part_type: PartitionType) -> Result<()> { in create_partitioned_image()
279 PartitionType::None => { in create_partitioned_image()
283 PartitionType::Mbr => { in create_partitioned_image()
287 PartitionType::Gpt => { in create_partitioned_image()