config

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 5 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 {
	DBPath     string
	ModelCache string
}

func Load

func Load(dbFlag string) (Config, error)

func (Config) EnsureDBDir

func (c Config) EnsureDBDir() error

func (Config) EnsureModelCacheDir

func (c Config) EnsureModelCacheDir() error

func (Config) HardenDBDirIfExists

func (c Config) HardenDBDirIfExists() error

func (Config) HardenModelCacheIfExists

func (c Config) HardenModelCacheIfExists() error

Jump to

Keyboard shortcuts

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