summaryrefslogtreecommitdiff
path: root/scanRepoDir.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
committerJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
commit192985619e462e22ef6967557bf1398a9613d0f6 (patch)
treec3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /scanRepoDir.go
parent5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff)
new funcname
Diffstat (limited to 'scanRepoDir.go')
-rw-r--r--scanRepoDir.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/scanRepoDir.go b/scanRepoDir.go
index 4597686..c138353 100644
--- a/scanRepoDir.go
+++ b/scanRepoDir.go
@@ -23,33 +23,6 @@ func (f *Forge) Reload() map[string]*RillStats {
return f.RillRepos(reloadCheck)
}
-/*
-func (f *Forge) TestScan() error {
- f.Repos = gitpb.NewRepos()
- dirs, err := gitDirectoriesNew(f.Config.ReposDir)
- if err != nil {
- return err
- }
- for i, fullpath := range dirs {
- repo, err := gitpb.NewRepo(fullpath)
- if err != nil {
- log.Info("ReAdd() error", fullpath, err)
- }
- log.Info(i, "worked", repo.FullPath)
- repo = f.Repos.Append(repo)
- f.VerifyBranchNames(repo)
- if f.Config.IsReadOnly(repo.GetGoPath()) {
- repo.ReadOnly = true
- }
- repo.ReloadCheck()
- if i > 5 {
- break
- }
- }
- return nil
-}
-*/
-
func (f *Forge) checkNamespace(fullpath string) (*gitpb.Repo, error) {
if repo := f.Repos.FindByFullPath(fullpath); repo != nil {
return nil, nil