Coverage for src / rhiza / models / _git / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-07-16 12:51 +0000

1"""The git engine for Rhiza's template sync. 

2 

3This package decomposes what was historically a single ~1000-LOC 

4``_git_utils.py`` module into focused submodules (see ADR-0005): 

5 

6- :mod:`rhiza.models._git.remote` — clone / sparse-checkout / HEAD resolution 

7- :mod:`rhiza.models._git.diff` — diff computation and parsing 

8- :mod:`rhiza.models._git.merge` — the 3-way merge strategy 

9- :mod:`rhiza.models._git.snapshot` — snapshot preparation helpers 

10- :mod:`rhiza.models._git.helpers` — module-level git/text helpers 

11- :mod:`rhiza.models._git.context` — the public :class:`GitContext` facade 

12""" 

13 

14from rhiza.models._git.context import GitContext 

15from rhiza.models._git.helpers import get_git_executable 

16 

17__all__ = ["GitContext", "get_git_executable"]