Skip to main content

state_dir

Function state_dir 

Source
pub fn state_dir() -> PathBuf
Expand description

The state directory: super::env::STATE when set, else $XDG_STATE_HOME/didbot/agentd, else ~/.local/state/didbot/agentd, and the current directory for a process with none of them.