Skip to main content

session_dir

Function session_dir 

Source
pub fn session_dir() -> PathBuf
Expand description

Return the platform-specific session storage directory (S9.2).

Checks OPI_SESSIONS_DIR env var first (for testing), then falls back to the platform default.

Unix: ~/.local/share/opi/sessions/ Windows: %LOCALAPPDATA%\opi\sessions\