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

Method __lt__

archinstall/lib/models/device.py:485–486  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

483 return Size(abs(src_norm + dest_norm), Unit.B, self.sector_size)
484
485 def __lt__(self, other: Self) -> bool:
486 return self._normalize() < other._normalize()
487
488 def __le__(self, other: Self) -> bool:
489 return self._normalize() <= other._normalize()

Callers

nothing calls this directly

Calls 1

_normalizeMethod · 0.95

Tested by

no test coverage detected