Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/tools/
Didf_tools.py663 local_path = os.path.join(global_idf_tools_path, 'dist', archive_name)
664 mkdir_p(os.path.dirname(local_path))
666 if os.path.isfile(local_path):
667 if not self.check_download_file(download_obj, local_path):
669 os.unlink(local_path)
676 local_temp_path = local_path + '.tmp'
701 rename_with_retry(local_temp_path, local_path)
727 def check_download_file(download_obj, local_path): argument
730 file_size, file_sha256 = get_file_size_sha256(local_path)
732 …warn('file size mismatch for {}, expected {}, got {}'.format(local_path, expected_size, file_size))
[all …]