MCPcopy Index your code
hub / github.com/archlinux/archinstall / is_valid_start

Method is_valid_start

archinstall/lib/models/device.py:456–457  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

454 return self.si_unit_highest(include_unit)
455
456 def is_valid_start(self) -> bool:
457 return self >= Size(1, Unit.MiB, self.sector_size)
458
459 def align(self) -> Size:
460 align_norm = Size(1, Unit.MiB, self.sector_size)._normalize()

Callers 1

parse_argMethod · 0.80

Calls 1

SizeClass · 0.85

Tested by

no test coverage detected