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

Method table_data

archinstall/lib/disk/partitioning_menu.py:37–45  ·  view source on GitHub ↗

Called for displaying data in table format

(self)

Source from the content-addressed store, hash-verified

35 return self.end - self.start
36
37 def table_data(self) -> dict[str, str]:
38 """
39 Called for displaying data in table format
40 """
41 return {
42 'Start': self.start.format_size(Unit.sectors, self.start.sector_size, include_unit=False),
43 'End': self.end.format_size(Unit.sectors, self.start.sector_size, include_unit=False),
44 'Size': self.length.format_highest(),
45 }
46
47
48class DiskSegment:

Callers 1

table_dataMethod · 0.45

Calls 2

format_sizeMethod · 0.80
format_highestMethod · 0.80

Tested by

no test coverage detected