Home
last modified time | relevance | path

Searched refs:cacheSingleton (Results 1 – 2 of 2) sorted by relevance

/development/tools/repo_diff/service/repodiff/repositories/
Dsource.go14 var cacheSingleton *lru.Cache var
24 id, ok := cacheSingleton.Get(cacheKey(url, branch))
32 cacheSingleton.Add(cacheKey(url, branch), val)
80 urlBranchPair, ok := cacheSingleton.Get(id)
87 cacheSingleton.Add(id, []string{url, branch})
139 cacheSingleton, _ = lru.New(cacheSize)
Dsource_test.go19 cacheSingleton, _ = lru.New(cacheSize)