yamlpersistence

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YamlPersistence

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

YamlPersistence handles persisting user config to disk as a YAML file

func New

func New(name string) (*YamlPersistence, error)

func (*YamlPersistence) Get

func (*YamlPersistence) Save

func (p *YamlPersistence) Save() error

This saves the user part of the config

func (*YamlPersistence) Set

func (p *YamlPersistence) Set(config *userconfig.UserConfig) error

Set updates and saves the config

Jump to

Keyboard shortcuts

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