show useful repositories count

This commit is contained in:
b1ek 2023-08-05 02:20:28 +10:00
parent 6704f79939
commit 1303e73b62
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 5 additions and 2 deletions

View File

@ -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());
}