Volgo_git_eio
Implementation of a Git backend for the Volgo.Vcs
library, based on Eio
and Volgo_git_backend
.
This implementation is based on the git
command line tool. We run it as an external program within an Eio
environment, producing the right command line invocation and parsing the output to produce a typed version of the expected results with Volgo_git_backend
. Note that git
must be found in the PATH of the running environment.
type t = Volgo_git_backend.Trait.t Volgo.Vcs.t
This is a convenient type alias that may be used to designate a backend with the exact list of traits supported by this implementation.
val create : env:< fs : _ Eio.Path.t ; process_mgr : _ Eio.Process.mgr.. > -> t
create ~env
creates a vcs
value that can be used by the Vcs
library.
module Impl : Volgo_git_backend.S with type t = Runtime.t
The implementation of the backend is exported for convenience and tests. Casual users should prefer using Vcs
directly.
Exposed if you need to extend it.
module Runtime : sig ... end
module Make_runtime : sig ... end
This module implements the handling of running the git and hg processes in a blocking fashion.