Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
func GetConfigDir() string
GetConfigDir returns the configuration directory path. If configDir is set (for testing), it returns that value. Otherwise, it returns the platform-specific default path:
- Unix: ~/.config/kairo
- Windows: %APPDATA%\kairo (AppData\Roaming\kairo)
This function is thread-safe and can be called concurrently.
func SetConfigDir ¶ added in v1.5.0
func SetConfigDir(dir string)
SetConfigDir sets the configuration directory path. This is primarily used for testing to override the default location.
This function is thread-safe and can be called concurrently.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.