Go to file
Jose M. Guisado e4b2964ee0 label: check parttypes identity type
parttypes can be either:

- A code for MBR/DOS
- An UUID for GPT

User needs a label instance before using a parttype getter. If checking
for a parttype using a code, check if the current label support that
kind of parttype identification before retrieving it. Same applies for
UUID based parttypes.

If wrong identity type is used, raise an exception. Errors regarding
parttype are more informative this way.
2023-01-11 17:11:51 +01:00
.gitignore Initial commit 2022-04-06 12:56:11 +02:00
COPYING Add COPYING and license headers 2022-04-07 17:03:34 +02:00
MANIFEST.in Add MANIFEST.in 2022-04-06 15:40:31 +02:00
context.c context: fix assign_device 2023-01-10 10:15:24 +01:00
fdisk.c fdisk: remove unuseful comment 2022-12-15 17:46:47 +01:00
fdisk.h context: delete unused label field 2022-12-20 16:18:31 +01:00
label.c label: check parttypes identity type 2023-01-11 17:11:51 +01:00
partition.c fdisk: declare kwlist array static 2022-12-15 17:51:17 +01:00
parttype.c add 'string' field getter to parttype 2023-01-11 17:11:41 +01:00
setup.py release: bump to version 1.1 2022-12-20 16:38:40 +01:00