diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,10 +21,10 @@ func Init(f *forgepb.Forge, g *gui.Node) *RepoList { me.viewName = "autotypist" - repos := me.forge.Repos.SortByGoPath() + repos := me.forge.Repos.SortByFullPath() for repos.Scan() { repo := repos.Next() - if me.forge.Config.IsReadOnly(repo.GoPath) { + if me.forge.Config.IsReadOnly(repo.GetGoPath()) { log.Info("repo scan readonly directory:", repo.FullPath) } else { log.Info("repo scan writable directory:", repo.FullPath) @@ -47,10 +47,10 @@ func InitBox(f *forgepb.Forge, newbox *gui.Node) *RepoList { me.viewName = "autotypist" - repos := me.forge.Repos.SortByGoPath() + repos := me.forge.Repos.SortByFullPath() for repos.Scan() { repo := repos.Next() - if me.forge.Config.IsReadOnly(repo.GoPath) { + if me.forge.Config.IsReadOnly(repo.GetGoPath()) { log.Info("repo scan readonly directory:", repo.FullPath) } else { log.Info("repo scan writable directory:", repo.FullPath) |
