Skip to content

Commit

Permalink
list of known repos
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 6, 2024
1 parent 9b27f1b commit f5bcb72
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
#include "lib.h"

int main() {
printf("Hello, World!");
printf("List of repos:\n");
init_target("/");
struct RepositoryList list = list_repositories();
for (unsigned i = 0; i < list.size; ++i){
struct Repository* repo = list.repos + i;
printf("repo %i: %s\n", i, repo->userName);
}
return 0;
}

0 comments on commit f5bcb72

Please sign in to comment.