pub fn is_repo_excluded(repo_name: &str, exclude_list: &[String]) -> boolExpand description
Reports whether a repository name is present in the exclude list.
Matching is an exact, case-sensitive comparison of the repository’s canonical name against each configured entry.
§Arguments
repo_name- The repository’s canonical name (seecanonical_repo_name)exclude_list- The configured repository names to skip
§Examples
ⓘ
use rusty_commit_saver::vim_commit::is_repo_excluded;
let list = vec!["claude-src".to_string()];
assert!(is_repo_excluded("claude-src", &list));
assert!(!is_repo_excluded("other-repo", &list));