From 1bafc298d3b37ca863ce58aba43c65081766f127 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 18 Feb 2024 15:09:48 -0600 Subject: guireleaser runs again --- new.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'new.go') diff --git a/new.go b/new.go index efaf988..cd23bbe 100644 --- a/new.go +++ b/new.go @@ -15,14 +15,16 @@ func init() { windowMap = make(map[string]*RepoStatus) } -func ListAll() { +// deprecate this +func ListAllOld() { for path, rs := range windowMap { log.Warn(rs.GetMasterVersion(), path) } } // returns the object for the path -func FindPath(path string) *RepoStatus { +// deprecate this +func FindPathOld(path string) *RepoStatus { if windowMap[path] == nil { log.Log(INFO, "FindPath() not initialized yet", path) return nil -- cgit v1.2.3