config

package
v0.0.0-...-f35c456 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFileName

func GetConfigFileName() string

GetConfigFileName returns the config file name

func WriteDefaultConfigIfNotExist

func WriteDefaultConfigIfNotExist(configFileName string)

WriteDefaultConfigIfNotExist writes the default config file if it doesn't exist

Types

type Config

type Config struct {
	Directories     []string
	IgnoredPatterns []string `yaml:",omitempty"`
	IgnoreSymlinks  bool     `yaml:",omitempty"`
	IgnoreHidden    bool     `yaml:",omitempty"`
}

Config is the configuration struct

Jump to

Keyboard shortcuts

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