summaryrefslogtreecommitdiff
path: root/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'new.go')
-rw-r--r--new.go6
1 files changed, 4 insertions, 2 deletions
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