pub fn is_inside_data_dir(path: &Path) -> bool
Returns whether the path lives under the configured data directory.