pub fn validate_profile_meta( meta: &ProfileMeta, backend: &str, name: &str, dir: &Path, ) -> Result<(), Error>