Created
May 2, 2014 13:28
-
-
Save jborg/5e3a948454ac3f8db84d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/attic/cache.py b/attic/cache.py | |
index 65362ff..d650ef4 100644 | |
--- a/attic/cache.py | |
+++ b/attic/cache.py | |
@@ -205,6 +205,7 @@ class Cache(object): | |
stats.update(-size, -csize, False) | |
def file_known_and_unchanged(self, path_hash, st): | |
+ return | |
if self.files is None: | |
self._read_files() | |
entry = self.files.get(path_hash) | |
@@ -218,6 +219,7 @@ class Cache(object): | |
return None | |
def memorize_file(self, path_hash, st, ids): | |
+ return | |
# Entry: Age, inode, size, mtime, chunk ids | |
mtime_ns = st_mtime_ns(st) | |
self.files[path_hash] = 0, st.st_ino, st.st_size, mtime_ns, ids |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment