Minimal read-only access to the project's Git repository through the
git executable.
Summary
Functions
Files changed between ref and the working tree (including untracked
files), relative to root.
Picks the comparison base: the given ref, otherwise origin/main or
HEAD~1, whichever exists first.
Returns true when ref resolves to a commit.
Reads path (relative to root) as it was at ref. Returns
{:error, :not_found} when the file did not exist there.
Functions
Files changed between ref and the working tree (including untracked
files), relative to root.
Picks the comparison base: the given ref, otherwise origin/main or
HEAD~1, whichever exists first.
Returns true when ref resolves to a commit.
Reads path (relative to root) as it was at ref. Returns
{:error, :not_found} when the file did not exist there.