forked from mirrors/kingfisher
improved github organization scanning
This commit is contained in:
parent
632bb0113d
commit
20e08105cf
11 changed files with 37 additions and 13 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue