refactor: public names for cross-module reads

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 22:59:51 +01:00
1 parent f371790dc6
commit 3853ca2f1c
254 files changed
+2955 -2969

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ except ImportError:
yaml = None
from core.hashing import compute_hashes, parse_hash_list, parse_md5_list, stream_hashes
from model.nodedup import _in_nodedup_dir
from model.nodedup import in_nodedup_dir
from model.platforms import load_platform_config
from model.profiles import load_emulator_profiles
from model.registry import list_registered_platforms
@@ -467,7 +467,7 @@ def _check_duplicate(result: ValidationResult, db: dict, relative: str) -> None:
# PR that regenerated database.json was told each new file
# duplicated itself.
result.add_check(True, "Already in the database at this path")
elif _in_nodedup_dir(relative):
elif in_nodedup_dir(relative):
result.add_info(
f"Identical to `{existing['path']}`, kept: this tree is read by path"
)