Skip to main content

Module paths

Module paths 

Source
Expand description

Cross-platform per-user path resolution for Cookie Agent.

This module lives in cookie_agent_protocol because models, config, engine, server, TUI, and tools already depend on that low-level crate. Placing it in cookie_agent_config would create a dependency cycle with models.

Enums§

PathError
Errors returned while resolving per-user paths.

Functions§

home_dir
Returns the current user’s home directory.
user_data_root
Returns the unified Cookie Agent per-user data root.