Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux/archinstall
/ get_si_units
Method
get_si_units
archinstall/lib/models/device.py:297–298 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
295
296
@classmethod
297
def
get_si_units(cls) -> list[Self]:
298
return
[u
for
u in cls
if
'i'
not in u.name and u.name !=
'sectors'
]
299
300
@classmethod
301
def
get_binary_units(cls) -> list[Self]:
Callers
1
si_unit_highest
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected