Home
last modified time | relevance | path

Searched refs:hash_path (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage_unittest.py218 hash_path = file_path + '.sha1'
221 self.CreateFiles([hash_path])
245 hash_path = file_path + '.sha1'
253 self.CreateFiles([file_path, hash_path])
266 hash_path = file_path + '.sha1'
274 self.CreateFiles([file_path, hash_path])
298 hash_path = file_path + '.sha1'
306 self.CreateFiles([file_path, hash_path])
320 file_obj = self.fs.GetObject(hash_path)
Dcloud_storage.py415 hash_path = file_path + '.sha1'
417 if not os.path.exists(hash_path):
418 logger.warning('Hash file not found: %s', hash_path)
421 expected_hash = ReadHash(hash_path)
439 if last_binary_fetch_ts > os.path.getmtime(hash_path):
495 def ReadHash(hash_path): argument
496 with open(hash_path, 'rb') as f: