PartitionVerb

struct PartitionVerb : public Verb

Used for verbs that need a partition to be loaded.

Inheriting from this verb lets you implement a handler that is given an apfs::partition, which this class loads from command-line arguments.

Subclassed by InfoVerb, VolumeVerb

Note

For verbs that inherit from this class, you may need to specify a partition:

apfs info /dev/rdisk4 --path / --partition 1849D6CC-9C08-4AAF-84D5-3A792680BB38

To find this, use diskinfo.