Update TwinProduction/gocache to v1.2.3
This commit is contained in:
1 parent
0560b98de4
commit
d03271d128
7 files changed
+24
-23
No files matched your search
+2
-2
@@ -120,8 +120,8 @@ func (cache *Cache) ReadFromFile(path string) (int, error) {
|
||||
cache.tail = current
|
||||
cache.head = current
|
||||
} else {
|
||||
previous.next = current
|
||||
current.previous = previous
|
||||
previous.previous = current
|
||||
current.next = previous
|
||||
cache.head = current
|
||||
}
|
||||
previous = entries[i]
|
||||
|
||||
Reference in new issue
Block a user