Go to file
Jose M. Guisado 34fd2cbe48 add 'string' field getter to parttype
'string' getter wraps fdisk_parttype_get_string to fetch the partition
type UUID in case of a GPT label device.

This is useful to confirm or check the partition type UUID of any device
with a GPT label.

>>> import fdisk
>>> cxt = fdisk.Context('./disk.bin', readonly=False)
>>> pa = cxt.partitions[0]
>>> pa.type.string
'C12A7328-F81F-11D2-BA4B-00A0C93EC93B'
>>> pa.type.name
'EFI System'
2023-01-11 17:11:41 +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 fdisk: declare kwlist array static 2022-12-15 17:51:17 +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