diff options
author | Daniele Sluijters <daenney@users.noreply.github.com> | 2023-01-03 14:42:34 +0100 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-02-05 12:45:46 +0200 |
commit | ee5ab32a40e5ae4c0f629dc9313e9a1115d6a8ee (patch) | |
tree | a9751983520a232cd83ba6d2d967c221b029ff26 /git/tree.go | |
parent | ee459fce7bc466f0d388f80de6396cfe260967b0 (diff) | |
download | legit-ee5ab32a40e5ae4c0f629dc9313e9a1115d6a8ee.tar.gz legit-ee5ab32a40e5ae4c0f629dc9313e9a1115d6a8ee.tar.bz2 legit-ee5ab32a40e5ae4c0f629dc9313e9a1115d6a8ee.zip |
utils: Add helper to get all repos
This does a filepath.WalkDir of the config.ScanPath and tries to find
all valid git repos. It returns a list of repoInfo structs holding basic
information of each repository.
Diffstat (limited to 'git/tree.go')
0 files changed, 0 insertions, 0 deletions