summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goSrcScan.go7
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) {