grubenv

package
v0.0.0-...-263a040 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

FIXME: support for escaping (embedded \n in grubenv) missing

func NewEnv

func NewEnv(path string) *Env

func (*Env) Get

func (g *Env) Get(name string) string

func (*Env) Load

func (g *Env) Load() error

func (*Env) Save

func (g *Env) Save() error

func (*Env) Set

func (g *Env) Set(key, value string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL