Module Make_runtime.Make

Parameters

module M : M

Signature

type t
val 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
val load_file : t -> path:Volgo_stdlib.Absolute_path.t -> (string, Pplumbing_err.Err.t) Volgo_stdlib.Result.t
val save_file : t -> ?perms:int -> unit -> path:Volgo_stdlib.Absolute_path.t -> file_contents:string -> (unit, Pplumbing_err.Err.t) Volgo_stdlib.Result.t
val read_dir : t -> dir:Volgo_stdlib.Absolute_path.t -> (Volgo_stdlib.Fsegment.t list, Pplumbing_err.Err.t) Volgo_stdlib.Result.t

Running the git/hg command line

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