config

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Home          string // state directory, default ~/.pgbranch
	RegistryPath  string // SQLite file
	PostgresImage string // default image for helpers/branches when source has no version
}

func Load

func Load() (*Config, error)

func (*Config) EnsureHome

func (c *Config) EnsureHome() error

EnsureHome creates the state directory.

Jump to

Keyboard shortcuts

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