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).

ParameterTypeDescription
configdictThe global UDE configuration dictionary.
collector_cfgdictThe ‘collector’ section of the configuration.
src_dirsListList of resolved source directories.
base_dirPathThe base directory against which paths are resolved.
cache_rootPathThe root directory for the persistent cache.

Generated with Flude

Copyright © 2026