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.
- sidecar_
path - Derives a sidecar file path next to the database (e.g. the enrich/ingest
queue), so worklist files follow
--dbinstead of the process CWD. Falls back to the bare filename (CWD) whendb_pathhas no parent — preserving the legacy default-DB layout.