diff options
| author | Jeff Carr <[email protected]> | 2025-02-14 18:39:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-14 18:39:36 -0600 |
| commit | c09e292a66ae7abd7e90aa97f267b6c90b33ca47 (patch) | |
| tree | a7b58a574204c6eb9d240488a01244204ec8b1a6 | |
| parent | 3278f6400e2fdc523cfb350f01782e35bd374d6d (diff) | |
something to do abitrary dirsv0.0.76
| -rw-r--r-- | goSrcScan.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/goSrcScan.go b/goSrcScan.go index 3f630a6..503f93f 100644 --- a/goSrcScan.go +++ b/goSrcScan.go @@ -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) { |
