package
7.0.0+incompatible
Repository: https://github.com/lindt/u-root.git
Documentation: pkg.go.dev

# Functions

NewEnvFile allocates a new env file.
ParseConfigFile parses a grub configuration as specified in https://www.gnu.org/software/grub/manual/grub/ Currently, only the linux[16|efi], initrd[16|efi], menuentry and set directives are partially supported.
ParseEnvFile reads a key-value pair GRUB environment file.
ParseLocalConfig looks for a GRUB config in the disk partition mounted at diskDir and parses out OSes to boot.

# Structs

EnvFile is a GRUB environment file consisting of key-value pairs akin to the GRUB commands load_env and save_env.