diff options
Diffstat (limited to 'new.go')
| -rw-r--r-- | new.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |
