diff options
| author | Jeff Carr <[email protected]> | 2025-10-30 14:08:34 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-30 14:08:34 -0500 |
| commit | 7d0cd69dcfc99209ebb74e3a3427e7f1042322e2 (patch) | |
| tree | c67e9a6394b351afbcff5ed5fb8a2c343e98d387 /scanRepoDir.go | |
| parent | c3a4bbc7f34d55fcdefcf44dce7a93343dc2af81 (diff) | |
minorv0.0.194
Diffstat (limited to 'scanRepoDir.go')
| -rw-r--r-- | scanRepoDir.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scanRepoDir.go b/scanRepoDir.go index 537acee..e8a85ef 100644 --- a/scanRepoDir.go +++ b/scanRepoDir.go @@ -40,12 +40,14 @@ func (f *Forge) checkNamespace(fullpath string) (*gitpb.Repo, error) { func (f *Forge) RescanRepos() error { gopath := env.Get("gopath") + fullpath := env.FullPath(gopath) if env.Verbose() { - log.Info("RescanRepos() running in", gopath) + log.Info("RescanRepos() running in", fullpath) } - f.scanRepoDir(gopath) - f.Save() - return errors.New("ScanReposByMode() not implemented yet") + f.scanRepoDir(fullpath) + err := f.Save() + // return errors.New("ScanReposByMode() not implemented yet") + return err } // scans for .git/ directories |
