updating to latest

This commit is contained in:
root
2021-11-04 01:18:18 -04:00
parent f92b773514
commit 7eadb4c49c
153 changed files with 19015 additions and 5168 deletions

View File

@@ -0,0 +1,10 @@
"""Helper to check if path is safe to remove."""
from custom_components.hacs.share import get_hacs
from ...utils.path import is_safe
def is_safe_to_remove(path: str) -> bool:
"""Helper to check if path is safe to remove."""
hacs = get_hacs()
return is_safe(hacs, path)