MCPcopy Create free account
hub / github.com/archlinux/archinstall / add_partition

Method add_partition

archinstall/lib/models/device.py:1413–1414  ·  view source on GitHub ↗
(self, partition: PartitionModification)

Source from the content-addressed store, hash-verified

1411 return self.device.disk.type == PartitionTable.GPT.value
1412
1413 def add_partition(self, partition: PartitionModification) -> None:
1414 self.partitions.append(partition)
1415
1416 def get_efi_partition(self) -> PartitionModification | None:
1417 filtered = filter(lambda x: x.is_efi() and x.mountpoint, self.partitions)

Calls

no outgoing calls

Tested by

no test coverage detected