203
203
"""Write contents of cache to file."""
204
204
outf = AtomicFile(self.cache_file_name(), 'wb', new_mode=self._mode)
208
208
for path, c in self._cache.iteritems():
209
209
assert '//' not in path, path
210
line_info = [path.encode('utf-8'), '// ', c[0], ' ']
218
216
## mutter("write hash cache: %s hits=%d misses=%d stat=%d recent=%d updates=%d",