Volgo_git_unixImplementation of a Git backend for the Volgo.Vcs library, based on Stdlib and Volgo_git_backend.
This implementation is based on the git command line tool. We run it as an external program with utils from Stdlib and Unix, 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.tThis 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 : unit -> tWhen create is called, the environment variable "PATH" is read to resolve the executable whose basename is "git". Subsequent calls to that vcs value will execute that resolved path, unless a "PATH" variable is passed as an override to a call in particular, via the env variable of Vcs.git ?env).
module Impl : Volgo_git_backend.S with type t = Runtime.tThe 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 ... endmodule Make_runtime : sig ... endThis module implements the handling of running the git and hg processes in a blocking fashion.