improved github organization scanning

This commit is contained in:
Mick Grove 2026-04-30 16:40:43 -07:00
commit 20e08105cf
11 changed files with 37 additions and 13 deletions

View file

@ -84,6 +84,8 @@ pub enum GitHubRepoType {
/// Only fork repositories
#[value(alias = "forks")]
Fork,
/// All repositories (source and forks)
All,
}
impl From<GitHubRepoType> for crate::github::RepoType {
@ -91,6 +93,7 @@ impl From<GitHubRepoType> for crate::github::RepoType {
match val {
GitHubRepoType::Source => crate::github::RepoType::Source,
GitHubRepoType::Fork => crate::github::RepoType::Fork,
GitHubRepoType::All => crate::github::RepoType::All,
}
}
}