Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = private {
type_guid : Uuidm.t;
partition_guid : Uuidm.t;
starting_lba : int64;
ending_lba : int64;
attributes : int64;
name : string;
}
private field types for the Partition record. Can be created using the smart constructors make
val make :
?name:string ->
type_guid:Uuidm.t ->
attributes:int64 ->
int64 ->
int64 ->
(t, string) Stdlib.result
make ?name ~type_guid ~attributes starting_lba ending_lba
constructs a Partition.t. name
is assumed to be a zero-padded utf-16le encoded string.
val is_zero_partition : t -> bool
is_zero_partition partition
is true
if partition
is the all-zero partition (i.e. the unused partition entry)