Skip to main content

default_path

Function default_path 

Source
pub fn default_path() -> PathBuf
Expand description

Resolve the default buffer database path.

Returns the platform data directory joined with agent-assembly/buffer.db~/.local/share/agent-assembly/buffer.db on Linux (per the XDG base-directory spec). Falls back to a relative buffer.db when no data directory can be determined.