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.
Methods
_hash_code_under_roots
_hash_code_under_roots(engine_root: Union, roots: tuple) -> str
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.
| Parameter | Type | Description |
|---|---|---|
| engine_root | Union | |
| roots | tuple |
Generated with Flude
Copyright © 2026