config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 6 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 {
	TargetDir           string            `toml:"target_dir"`
	ExcludeFiles        []string          `toml:"exclude_files"`
	IncludeFiles        []string          `toml:"include_files"`
	ExploreExcludedDirs bool              `toml:"explore_excluded_dirs"`
	ImplicitDot         bool              `toml:"implicit_dot"`
	ImplicitDotIgnore   []string          `toml:"implicit_dot_ignore"`
	DiffCommand         string            `toml:"diff_command"`
	Hosts               map[string]string `toml:"hosts"`
}

func DefaultConfig

func DefaultConfig() Config

func FromDotfilesDir

func FromDotfilesDir(dotfilesDir AbsolutePath) Config

func FromFile

func FromFile(path AbsolutePath) Config

Jump to

Keyboard shortcuts

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