pub fn get_model<P: AsRef<Path> + AsRef<OsStr>>(
repository: &Repository,
model: Option<&str>,
repo_config_file: &str,
app_model_path: &P
) -> Result<BranchSettingsDef, String>
Expand description
Try to get the branch settings for a given model. If no model name is given, returns the branch settings set fot the repo, or the default otherwise.