Skip to main content

data_dirs

Function data_dirs 

Source
pub fn data_dirs() -> Vec<PathBuf>
Expand description

$XDG_DATA_HOME then $XDG_DATA_DIRS, in the order the spec gives them — public because the mimetype command needs the same list, and --database replaces exactly this — earlier is more specific. Flatpak puts its exported entries in here, which is how a flatpak application is offered at all.