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

Method table_data

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

Source from the content-addressed store, hash-verified

1232 }
1233
1234 def table_data(self) -> dict[str, str]:
1235 part_mod = {
1236 'Type': self.status.value,
1237 'Name': self.name,
1238 'Size': self.length.format_highest(),
1239 'FS type': self.fs_type.value,
1240 'Mountpoint': str(self.mountpoint) if self.mountpoint else '',
1241 'Mount options': ', '.join(self.mount_options),
1242 'Btrfs': '{} {}'.format(str(len(self.btrfs_subvols)), 'vol'),
1243 }
1244 return part_mod
1245
1246 def is_modify(self) -> bool:
1247 return self.status == ModificationStatus.MODIFY

Callers

nothing calls this directly

Calls 2

format_highestMethod · 0.80
formatMethod · 0.80

Tested by

no test coverage detected