Skip to main content

Module paths

Module paths 

Source
Expand description

Filesystem paths for the project-local database and app support directories. XDG/cwd path resolution and traversal-safe overrides.

Resolves data directories via directories::ProjectDirs and validates that user-supplied paths cannot escape the project root.

Structs§

AppPaths
Resolved filesystem paths used by the CLI at runtime.

Functions§

config_dir
Returns the XDG config directory for the application.