Skip to main content

data_dir_under

Function data_dir_under 

Source
pub fn data_dir_under(root: &Path, id: &str) -> PathBuf
Expand description

Join a resolved root and an app id into the one path shape every per-app data directory uses. Exposed so a caller that already holds an override root (a test, an embedder) can place a directory the same way data_dir_for does, instead of reimplementing the join.