Skip to content
Snippets Groups Projects
Verified Commit c0d4f99d authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

main

parent c3a4286c
Branches
No related tags found
No related merge requests found
......@@ -105,15 +105,8 @@ da_str_t find_git(const char *path) {
}
int main(int argc, char *argv[]) {
// da_str_t files = ls((argc > 1) ? argv[1] : ".");
// da_foreach(char *, f, &files) { printf("%s\n", *f); }
// printf(" %zu\n", files.size);
da_str_t repos = find_git((argc > 1) ? argv[1] : ".");
printf("repos found:\n");
da_foreach(char *, r, &repos) { printf("\t%s\n", *r); }
printf(" %zu\n", repos.size);
da_foreach(char *, r, &repos) { printf("%s\n", *r); }
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment