Skip to content

Commit

Permalink
Why even bother with a cache at this point?
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenBagTwo committed Oct 3, 2023
1 parent 921cff0 commit 44979de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enderchest/test/mock_paramiko.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def __init__(self, root: Path):
self.lstat_cache: dict[Path, CachedStat] = {
root
/ stat["filename"]: CachedStat(**stat)._replace(
st_size=(root / stat["filename"]).stat().st_size,
st_mtime=(root / stat["filename"]).stat().st_mtime,
st_atime=(root / stat["filename"]).stat().st_atime,
)
Expand Down

0 comments on commit 44979de

Please sign in to comment.