1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 07:45:56 +00:00
This commit is contained in:
J. Nick Koston
2025-11-01 03:04:55 -05:00
parent b6a31a24bc
commit fe0d9828a8

View File

@@ -2,6 +2,7 @@ from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable
from functools import cache from functools import cache
import hashlib
import json import json
import os import os
import os.path import os.path
@@ -767,7 +768,6 @@ def get_components_graph_cache_key() -> str:
Returns: Returns:
SHA256 hex string uniquely identifying the current component state SHA256 hex string uniquely identifying the current component state
""" """
import hashlib
# Use git ls-files -s to get sha1 hashes of all component __init__.py files # Use git ls-files -s to get sha1 hashes of all component __init__.py files
# Format: <mode> <sha1> <stage> <path> # Format: <mode> <sha1> <stage> <path>