Skip to main content

data_dir

Function data_dir 

Source
pub fn data_dir() -> PathBuf
Expand description

Directory holding everything Trail persists between runs: bookmarks, recent directories, and the remembered --config path.

Falls back to the current directory when the platform will not name a home directory, so persistence degrades to “beside the user” rather than being dropped silently.