Lines Matching refs:cache_file
62 cache_file = os.path.join(self._cache_path, key)
63 if os.path.exists(cache_file):
64 return LocalFileURL(cache_file)
88 cache_file = os.path.join(self._cache_path, key)
89 cache_dir = os.path.dirname(cache_file)
92 file_tools.AtomicWriteFile(data, cache_file)
93 return LocalFileURL(cache_file)
105 cache_file = os.path.join(self._cache_path, key)
106 if os.path.exists(cache_file):
107 data = file_tools.ReadFile(cache_file)
109 return LocalFileURL(cache_file)
122 cache_file = os.path.join(self._cache_path, key)
123 if os.path.exists(cache_file):
124 return file_tools.ReadFile(cache_file)