Vcs.Path_in_repoA path for a file versioned in a repository.
This is a wrapper for a Fpath.t relative to the repo root, used for accrued type safety.
val 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 root : tval to_fpath : t -> Fpath_sexp0.Fpath.tval to_relative_path : t -> Fpath_sexp0.Relative_path.tval of_relative_path : Fpath_sexp0.Relative_path.t -> t