summaryrefslogtreecommitdiff
path: root/scanRepoDir.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 10:18:42 -0500
committerJeff Carr <[email protected]>2025-10-22 10:18:42 -0500
commitd9e9ebe34eeb550af4c8ba3a27d9304974b9ccb1 (patch)
tree14cb6d285ece7036d4ce924bd5cc5b7419e52af6 /scanRepoDir.go
parent398235bdc52b7af008f401867e192900a01c06f8 (diff)
fix pb.Load()
Diffstat (limited to 'scanRepoDir.go')
-rw-r--r--scanRepoDir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/scanRepoDir.go b/scanRepoDir.go
index 062a30b..70cd74b 100644
--- a/scanRepoDir.go
+++ b/scanRepoDir.go
@@ -41,13 +41,13 @@ func (f *Forge) checkNamespace(fullpath string) (*gitpb.Repo, error) {
func (f *Forge) RescanRepos() error {
gopath := ENV.Get("gopath")
log.Info("RescanRepos() running in", gopath)
- f.ScanRepoDir(gopath)
+ // f.scanRepoDir(gopath)
f.Save()
return errors.New("ScanReposByMode() not implemented yet")
}
// scans for .git/ directories
-func (f *Forge) ScanRepoDir(path string) error {
+func (f *Forge) scanRepoDir(path string) error {
if path == "" {
return errors.New("ScanRepoDir() got sent blank dir")
}