package volgo-git-eio

  1. Overview
  2. Docs

Module Make_runtime.MakeSource

Parameters

module M : M

Signature

Sourcetype t
Sourceval create : env:< fs : _ Eio.Path.t ; process_mgr : _ Eio.Process.mgr.. > -> t

I/O

include Volgo.Vcs.Trait.File_system.S with type t := t
Sourceval load_file : t -> path:Fpath_sexp0.Absolute_path.t -> (string, Err.t) Result.t
Sourceval save_file : t -> ?perms:int -> unit -> path:Fpath_sexp0.Absolute_path.t -> file_contents:string -> (unit, Err.t) Result.t

Running the git/hg command line

Sourceval vcs_cli : ?env:string array -> t -> cwd:Fpath_sexp0.Absolute_path.t -> args:string list -> f:(M.Output.t -> ('a, Err.t) Result.t) -> ('a, Err.t) Result.t