Computes the project key and its persistent directory path.
Refactored out of doxygen.py to be reusable for read-only lookups (e.g., baseline diffing) without invoking the collector.
Returns:
A tuple of (project_key, project_dir).
Methods
compute_project_key_and_dir
compute_project_key_and_dir(config: dict, collector_cfg: dict, src_dirs: List, base_dir: Path, cache_root: Path) -> Tuple[str, Path]
Computes the project key and its persistent directory path.
Refactored out of doxygen.py to be reusable for read-only lookups (e.g., baseline diffing) without invoking the collector.
Returns:
A tuple of (project_key, project_dir).
| Parameter | Type | Description |
|---|---|---|
| config | dict | The global UDE configuration dictionary. |
| collector_cfg | dict | The ‘collector’ section of the configuration. |
| src_dirs | List | List of resolved source directories. |
| base_dir | Path | The base directory against which paths are resolved. |
| cache_root | Path | The root directory for the persistent cache. |
Generated with Flude
Copyright © 2026