Closed ludeeus closed 1 month ago
custom_components/hacs/utils/file_system.py (1)
`6-6`: The addition of the `shutil` import is appropriate for the new directory removal functionality.tests/utils/test_fs_util.py (1)
`47-71`: The test function `test_async_remove_directory` is well-implemented, covering various scenarios including error handling and the `missing_ok` parameter. Good use of `pytest.raises` for exception testing.custom_components/hacs/repositories/base.py (2)
`35-35`: The updated import statement correctly reflects the usage of `async_remove_directory` in the repository management functions. --- `594-599`: The modification to `async_download_zip_file` with the addition of `_extract_zip_file` for asynchronous zip extraction is well-implemented. This change effectively addresses the issue of blocking calls in the event loop.
Fixes #3744