File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ pub fn get_single_device<P: AsRef<Path>>(target_root: P) -> Result<String> {
3737
3838/// Find esp partition on the same device
3939/// using sfdisk to get partitiontable
40- #[ allow( dead_code) ]
4140pub fn get_esp_partition ( device : & str ) -> Result < Option < String > > {
4241 const ESP_TYPE_GUID : & str = "C12A7328-F81F-11D2-BA4B-00A0C93EC93B" ;
4342 let device_info: PartitionTable = bootc_blockdev:: partitions_of ( Utf8Path :: new ( device) ) ?;
@@ -52,7 +51,6 @@ pub fn get_esp_partition(device: &str) -> Result<Option<String>> {
5251}
5352
5453/// Find all ESP partitions on the devices with mountpoint boot
55- #[ allow( dead_code) ]
5654pub fn find_colocated_esps < P : AsRef < Path > > ( target_root : P ) -> Result < Vec < String > > {
5755 // first, get the parent device
5856 let devices = get_devices ( & target_root) . with_context ( || "while looking for colocated ESPs" ) ?;
You can’t perform that action at this time.
0 commit comments