Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
func GetConfigDir() string
GetConfigDir returns the user's config directory for cagent.
If the home directory cannot be determined, it falls back to a directory under the system temporary directory. This is a best-effort fallback and not intended to be a security boundary.
func GetDataDir ¶
func GetDataDir() string
GetDataDir returns the user's data directory for cagent (caches, content, logs).
If the home directory cannot be determined, it falls back to a directory under the system temporary directory.
func GetHomeDir ¶ added in v1.8.2
func GetHomeDir() string
GetHomeDir returns the user's home directory.
Returns an empty string if the home directory cannot be determined.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.