paths

package
v1.19.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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