Skip to main content

get_data_dir

Function get_data_dir 

Source
pub fn get_data_dir() -> Result<PathBuf>
Expand description

Get the TCA data directory path, creating it if it does not exist.

Returns $XDG_DATA_HOME/tca on Linux/BSD, or the platform-equivalent on other OS.