config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDatabasePath

func DefaultDatabasePath() string

func DefaultDir

func DefaultDir() string

func DefaultPath

func DefaultPath() string

func ExpandHome

func ExpandHome(path string) string

func ResolveDatabasePath

func ResolveDatabasePath(cliPath string, cliProvided bool, cfgPath string) (string, error)

Types

type Config

type Config struct {
	Paths            []string  `yaml:"paths"`
	DatabasePath     string    `yaml:"database_path"`
	Model            *[]string `yaml:"-"`
	Exclude          []string  `yaml:"-"`
	SweepConcurrency *int      `yaml:"sweep_concurrency"`
}

func Load

func Load(path string) (*Config, error)

func (*Config) UnmarshalYAML added in v0.3.0

func (c *Config) UnmarshalYAML(node *yaml.Node) error

Jump to

Keyboard shortcuts

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