mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport lru.Cache.Clear
This commit is contained in:
parent
536f6cff8a
commit
a22d83b880
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ func (c *Cache) Len() int {
|
|||
return c.ll.Len()
|
||||
}
|
||||
|
||||
// Clear purges all stored items from the cache.
|
||||
func (c *Cache) Clear() {
|
||||
// clear purges all stored items from the cache.
|
||||
func (c *Cache) clear() {
|
||||
if c.OnEvicted != nil {
|
||||
for _, e := range c.cache {
|
||||
kv := e.Value.(*entry)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue