something to do abitrary dirs
This commit is contained in:
parent
3278f6400e
commit
c09e292a66
|
@ -46,6 +46,13 @@ func (f *Forge) ScanGoSrc() (bool, error) {
|
||||||
return true, err
|
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/
|
// doesn't enter the directory any further when it finds a .git/
|
||||||
// not stupid like my old version
|
// not stupid like my old version
|
||||||
func gitDirectoriesNew(srcDir string) ([]string, error) {
|
func gitDirectoriesNew(srcDir string) ([]string, error) {
|
||||||
|
|
Loading…
Reference in New Issue