Ragex.Git.Backend.Egit (Ragex v0.17.1)

View Source

Git backend using the egit NIF library (libgit2 bindings).

All calls are routed through Ragex.Git.RepoServer which owns the NIF repo reference, providing process isolation. If the NIF crashes, only the RepoServer dies and is restarted by the supervisor.

This backend is only available when {:egit, "~> 0.2"} is compiled in. The Ragex.Git.Backend.active/0 function auto-detects its presence.

Operations not supported by libgit2 (e.g. git log -L) fall through to Ragex.Git.Backend.CLI.