Module Vcs_git_eio

Implementation of a git provider for the Vcs library, based on Eio and Vcs_git_provider.

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 Vcs_git_provider. Note that git must be found in the PATH of the running environment.

type 'a t = [> Vcs_git_provider.Trait.t ] as 'a Vcs.t

This is a convenient type alias that may be used to designate a provider 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 : sig ... end

The implementation of the provider is exported for convenience and tests. Casual users should prefer using Vcs directly.