Vcs.Repo_roottype t = Volgo.Vcs.Repo_root.tinclude Ppx_hash_lib.Hashable.S with type t := tval hash_fold_t : t Base__Ppx_hash_lib.hash_foldinclude module type of Volgo.Vcs.Repo_root with type t := tval hash : t -> intval seeded_hash : int -> t -> intval sexp_of_t : t -> Sexplib0.Sexp.tval to_string : t -> stringGiven that t = string in the implementation, this function is just the identity.
val of_string : string -> (t, [ `Msg of string ]) Stdlib.Result.tof_string str returns Ok str if X.invariant str = true, and an error otherwise. This is meant to be used to validate untrusted entries.
val v : string -> tv str is a convenient wrapper to build a t or raise Invalid_argument. This is typically handy for applying on trusted literals.
val of_absolute_path : Fpath_sexp0.Absolute_path.t -> tval to_absolute_path : t -> Fpath_sexp0.Absolute_path.tval relativize :
t ->
Fpath_sexp0.Absolute_path.t ->
Volgo.Vcs.Path_in_repo.t optionGiven an absolute path that is under this repository, returns its relative repo path. This returns None if the supplied absolute path doesn't point to a path within this repository.
val append : t -> Volgo.Vcs.Path_in_repo.t -> Fpath_sexp0.Absolute_path.tThis is useful to access file on the file system.
include Base.Comparable.S with type t := tval comparator : (t, comparator_witness) Base__Comparator.comparator