From 7cc064dec034ba2dddf5eced0ce2206ecf56981b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 23 Dec 2024 02:42:07 -0600 Subject: [PATCH] rm obsolete code --- init.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/init.go b/init.go index 397fb23..2212030 100644 --- a/init.go +++ b/init.go @@ -3,7 +3,6 @@ package repolist import ( "go.wit.com/gui" "go.wit.com/lib/protobuf/forgepb" - "go.wit.com/log" ) func Init(f *forgepb.Forge, g *gui.Node) *RepoList { @@ -25,9 +24,9 @@ func Init(f *forgepb.Forge, g *gui.Node) *RepoList { for repos.Scan() { repo := repos.Next() if me.forge.Config.IsReadOnly(repo.GetGoPath()) { - log.Info("repo scan readonly directory:", repo.FullPath) + // log.Info("repo scan readonly directory:", repo.FullPath) } else { - log.Info("repo scan writable directory:", repo.FullPath) + // log.Info("repo scan writable directory:", repo.FullPath) me.AddRepo(repo) } } @@ -51,9 +50,9 @@ func InitBox(f *forgepb.Forge, newbox *gui.Node) *RepoList { for repos.Scan() { repo := repos.Next() if me.forge.Config.IsReadOnly(repo.GetGoPath()) { - log.Info("repo scan readonly directory:", repo.FullPath) + // log.Info("repo scan readonly directory:", repo.FullPath) } else { - log.Info("repo scan writable directory:", repo.FullPath) + // log.Info("repo scan writable directory:", repo.FullPath) me.AddRepo(repo) } }