()
| 101 | |
| 102 | |
| 103 | def disk_layouts() -> str: |
| 104 | try: |
| 105 | lsblk_output = get_lsblk_output() |
| 106 | except SysCallError as err: |
| 107 | warn(f'Could not return disk layouts: {err}') |
| 108 | return '' |
| 109 | |
| 110 | return lsblk_output.model_dump_json(indent=4) |
| 111 | |
| 112 | |
| 113 | def get_parent_device_path(dev_path: Path) -> Path: |
no test coverage detected