apfs::disk¶
-
class disk¶
Represents a physical disk: such as a
.dmgfile or a plugged in drive.The entry point into the APFS filesystem: used to get disk info and load partitions
Public Functions¶
-
disk(FILE *file)¶
Alternatively, you can construct a disk directly from an already opened C file stream.
Ownership is transferred to this class. The caller must not close or otherwise use the stream after passing it to this constructor.
-
partition load_partition(const partition_info_t &part) const¶
Used to load a partition using an entry in the partitions array storing partition_info_t objects.
-
disk(FILE *file)¶