Skip to main content

get_state_dir

Function get_state_dir 

Source
pub fn get_state_dir() -> PathBuf
Expand description

Return the browser-automation-cli state root (XDG state via crate::xdg).

This is the parent of sessions/, auth storage, and the encryption key. Optional namespace is read from the XDG config file (namespace = "..."), not from env.