about summary refs log tree commit diff stats
path: root/.flake8
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-06-29 18:48:44 +0200
committertoonn <toonn@toonn.io>2020-06-29 19:09:19 +0200
commit114ce4d88fe751c0fc3ba66b823f4bf32b17df32 (patch)
treeea4c591a7e06500fcf42c9462a78085d07806ddd /.flake8
parente2619d96f23b28a100266e8b9fe4fee7df59ed01 (diff)
downloadranger-114ce4d88fe751c0fc3ba66b823f4bf32b17df32.tar.gz
Include mtime in hash rather than comparing
Comparing the mtimes of a file and a cached preview or including the
mtime in the preview's hash are almost equivalent except this way we
don't need to find out the preview's mtime.

We include the device identifier and the inode in the hash, this makes
sure duplicate filenames don't cause erroneous hits in the cache.
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions