something to do abitrary dirs

This commit is contained in:
Jeff Carr 2025-02-14 18:39:36 -06:00
parent 3278f6400e
commit c09e292a66
1 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,13 @@ func (f *Forge) ScanGoSrc() (bool, error) {
return true, err
}
func (f *Forge) ScanDir(dir string) *gitpb.Repo {
// repo, err := f.NewGoRepo(gopath, "")
repo, err := f.Repos.NewGoRepo(dir, "")
log.Info("need to implement ScanDir()", dir, err)
return repo
}
// doesn't enter the directory any further when it finds a .git/
// not stupid like my old version
func gitDirectoriesNew(srcDir string) ([]string, error) {