mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Use inode number and size for more robust entries change tracking
This commit is contained in:
parent
a6335777d9
commit
16cdcf8cf8
3 changed files with 67 additions and 19 deletions
|
|
@ -77,6 +77,7 @@ func TestDiskCache(t *testing.T) {
|
|||
arc(dc, 1) // because dc2.Get() will have updated the file
|
||||
arc(dc2, 1)
|
||||
ak("k1")
|
||||
arc(dc2, 2) // because dc.Add() will have updated the file
|
||||
dc2.Add("k2", map[string][]byte{"1": []byte("123456789")})
|
||||
arc(dc, 1)
|
||||
arc(dc2, 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue