show useful repositories count
This commit is contained in:
parent
6704f79939
commit
1303e73b62
|
@ -22,10 +22,13 @@ async fn main() {
|
|||
}
|
||||
|
||||
let user = api::get_user().await;
|
||||
|
||||
log::info!("Logged into gitea as user \"{}\"", user.full_name);
|
||||
|
||||
let repos = api::get_org_repos("Tochka".into()).await;
|
||||
|
||||
log::info!("Found {} repositories", repos.len());
|
||||
|
||||
let repos = api::filter_repos(repos);
|
||||
log::info!("Only {} repositories are useful", repos.len());
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue