Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFileNames = []string{
".kittyrc.json",
".kittyrc",
"kitty.config.json",
}
View Source
var Debug = false
Debug controls whether to print debug info
View Source
var ErrNotExist = os.ErrNotExist
Functions ¶
func GetKittyConfig ¶
GetKittyConfig will find the kitty config file in the given directory
if dir is empty, it will use the current working directory if no config file found, it will return an error wrapped ErrNotExist, use IsNotExist to check
func IsNotExist ¶
func PatchKittyConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.