List of functions in the ude.doxygen_cache namespace.
| Entity Name | Description |
|---|---|
| build_source_manifest | Walks root_dirs recursively and returns a sorted (relpath, size, sha256) manifest. |
| compute_source_manifest_hash | Hashes an already-sorted (relpath, size, sha256) manifest. |
| compute_doxygen_binary_id | Identity of the doxygen binary: resolved path + size + mtime. |
| _normalize_doxyfile_for_hash | Strips OUTPUT_DIRECTORY and rewrites absolute repo paths to repo-relative POSIX. |
| compute_doxyfile_hash | Hashes the merged Doxyfile content after path/OUTPUT_DIRECTORY normalization. |
| compute_project_key | Content-derived cache-directory key (Opus S5) – not a naming convention. |
| compute_project_key_and_dir | Computes the project key and its persistent directory path. |
| compute_parser_config_hash | Hashes the parser-level config (exclude_swig_internals, export_macros, …). |
| _hash_code_under_roots | Hashes every .py file under the given repo-relative roots, keyed by (repo-relative path, sha256), sorted for a deterministic combined digest. Shared by compute_engine_code_id and compute_collector_code_id. |
| compute_engine_code_id | Computed hash of the engine code the parser actually depends on. |
| compute_collector_code_id | Computed hash of the collector code the doxygen.exe invocation itself depends on (currently: ude/collectors/**, which includes dom_ignore_filter.py – an external INPUT_FILTER process Doxygen has no way to notice changed on its own). See _COLLECTOR_CODE_ROOTS. |
| compute_xml_fingerprint | Gates the doxygen.exe skip decision (Piece B). |
| compute_ir_fingerprint | Gates persisted-ProjectCatalog reuse (Piece B/E). |
| count_compounds | Counts <compound> entries in a Doxygen index.xml – the cheap signal used for the verified-successful-run floor (Opus S3): doxygen exits 0 even on a misconfigured, substantially empty run, so return-code alone is not sufficient evidence that a run’s output is trustworthy to cache. |
| load_fingerprint | Loads a .ude_fingerprint.json sidecar, or None if absent/corrupt. |
| write_fingerprint_atomically | Writes the fingerprint sidecar via write-then-rename, never a partial file in place. |
Generated with Flude
Copyright © 2026
Directory & Entity Index
| Entity Name | Summary / Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| _hash_code_under_roots function | Hashes every Methods_hash_code_under_roots
Hashes every
Generated with Flude | |||||||||
| _normalize_doxyfile_for_hash function | Strips
Methods_normalize_doxyfile_for_hash
Strips
| |||||||||
| build_source_manifest function | Walks Safe-asymmetric matching: honors Returns: A list of | |||||||||
| compute_collector_code_id function | Computed hash of the collector code the doxygen.exe invocation itself
depends on (currently: Methodscompute_collector_code_id
Computed hash of the collector code the doxygen.exe invocation itself
depends on (currently: | |||||||||
| compute_doxyfile_hash function | Hashes the merged Doxyfile content after path/OUTPUT_DIRECTORY normalization. Methodscompute_doxyfile_hash
Hashes the merged Doxyfile content after path/OUTPUT_DIRECTORY normalization.
Generated with Flude Copyright © 2026 | |||||||||
| compute_doxygen_binary_id function | Identity of the doxygen binary: resolved path + size + mtime. Cheaper than spawning Methodscompute_doxygen_binary_id
Identity of the doxygen binary: resolved path + size + mtime. Cheaper than spawning
Generated with Flude | |||||||||
| compute_engine_code_id function | Computed hash of the engine code the parser actually depends on. Deliberately not a hand-bumped version constant: this repo’s two worst
recent incidents (the disk-full temp leak, the silently-forced
Methodscompute_engine_code_id
Computed hash of the engine code the parser actually depends on. | |||||||||
| compute_ir_fingerprint function | Gates persisted- Deliberately built on top of Methodscompute_ir_fingerprint
Gates persisted- Deliberately built on top of | |||||||||
| compute_parser_config_hash function | Hashes the parser-level config ( Methodscompute_parser_config_hash
Hashes the parser-level config (
Generated with Flude Copyright © 2026 | |||||||||
| compute_project_key function | Content-derived cache-directory key (Opus S5) – not a naming convention. Two projects with genuinely identical collector config + source dirs +
language share a directory (and therefore one doxygen run); any future
divergence automatically gets its own directory instead of silently
colliding under a string-munged name like stripping a Methodscompute_project_key
Content-derived cache-directory key (Opus S5) – not a naming convention. | |||||||||
| compute_project_key_and_dir function | 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). Methodscompute_project_key_and_dir
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. | |||||||||
| compute_source_manifest_hash function | Hashes an already-sorted Methodscompute_source_manifest_hash
Hashes an already-sorted
Generated with Flude Copyright © 2026 | |||||||||
| compute_xml_fingerprint function | Gates the doxygen.exe skip decision (Piece B).
Methodscompute_xml_fingerprint
Gates the doxygen.exe skip decision (Piece B).
| |||||||||
| count_compounds function | Counts Methodscount_compounds
Counts | |||||||||
| load_fingerprint function | Loads a Methodsload_fingerprint
Loads a
Generated with Flude Copyright © 2026 | |||||||||
| write_fingerprint_atomically function | Writes the fingerprint sidecar via write-then-rename, never a partial file in place. Methodswrite_fingerprint_atomically
Writes the fingerprint sidecar via write-then-rename, never a partial file in place.
Generated with Flude Copyright © 2026 |