config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirName  = ".noxdir"
	FileName = "settings.json"
)

Variables

This section is empty.

Functions

func ResolveConfigPath

func ResolveConfigPath(configDir string) (string, error)

Types

type Settings

type Settings struct {
	Path        string   `json:"-"`
	ColorSchema string   `json:"colorSchema"`
	Exclude     []string `json:"exclude"`
	NoEmptyDirs bool     `json:"noEmptyDirs"`
	NoHidden    bool     `json:"noHidden"`
	SimpleColor bool     `json:"simpleColor"`
	UseCache    bool     `json:"useCache"`
}

func LoadSettings

func LoadSettings() (*Settings, error)

func (Settings) ConfigPath

func (s Settings) ConfigPath() string

Jump to

Keyboard shortcuts

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