diff options
author | GitLab Renovate Bot <gitlab-bot@gitlab.com> | 2023-06-28 18:22:53 +0300 |
---|---|---|
committer | GitLab Renovate Bot <gitlab-bot@gitlab.com> | 2023-06-28 18:22:53 +0300 |
commit | c945d61c33304979dfa40762d1f497726cf10928 (patch) | |
tree | 590c4f01e5eb0967c1b57deb5446fa53f6863ce1 /NOTICE | |
parent | 13c9342533169e26f40af638e76d9d5b1782bcd8 (diff) |
go: Update module github.com/hashicorp/golang-lru/v2 to v2.0.4
Diffstat (limited to 'NOTICE')
-rw-r--r-- | NOTICE | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13132,6 +13132,9 @@ func (c *LRU[K, V]) Add(key K, value V) (evicted bool) { // Check for existing item if ent, ok := c.items[key]; ok { c.evictList.moveToFront(ent) + if c.onEvict != nil { + c.onEvict(key, ent.value) + } ent.value = value return false } |