Documentation
¶
Overview ¶
internal/config/config.go
internal/config/loader.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
func DefaultConfigPath() string
func ExpandHome ¶
ExpandHome replaces a leading ~ or ~/ with the user's home directory.
Types ¶
type Config ¶
type Config struct {
// Scanning
ScanPaths []string `yaml:"scan_paths"`
IgnorePatterns []string `yaml:"ignore_patterns"`
MaxDepth int `yaml:"max_depth"`
// Watcher
PollInterval time.Duration `yaml:"poll_interval"`
AutoRefresh bool `yaml:"auto_refresh"`
}
func (*Config) ShouldIgnore ¶
Click to show internal directories.
Click to hide internal directories.