package
1.2.0
Repository: https://github.com/canonical/go-efilib.git
Documentation: pkg.go.dev

# Functions

FilePathToDevicePath creates an EFI device path from the supplied filepath.
NewHardDriveDevicePathNodeFromDevice constructs a HardDriveDevicePathNode for the specified partition on the device or file at the supplied path.
ReadPartitionTable reads a complete GUID partition table from the supplied device path.

# Constants

FullPath indicates that only a full device path should be created.
ShortFormPathFile indicates that a short-form device path consisting of only the file path relative to the device should be created.
ShortFormPathHD indicates that a short-form device path beginning with a HD() node should be created.

# Type aliases

ErrNoDevicePath is returned from FilePathToDevicePath if the device in which a file is stored cannot be mapped to a device path with the specified mode.
FilePathToDevicePathMode specifies the mode for FilePathToDevicePath.