Vcs.Private
This part of the interface is not stable. Things may break without notice and outside of the guidelines set by semver when upgrading to a new version of Vcs
. This is used e.g. by tests or libraries with strong ties to Vcs
. Do not use.
module Bit_vector : sig ... end
A naive implementation of mutable bit vectors.
module Import : sig ... end
module Int_table : sig ... end
module Process_output : sig ... end
Manipulating the output of process run by vcs and backends.
module Ref_kind_table : sig ... end
module Rev_table : sig ... end
module Validated_string : sig ... end
Utils to manipulate abstract types that are strings in their implementation.
try_with f
runs f
and wraps any exception it raises into an Err.t
error. Because this catches all exceptions, including exceptions that may not be designed to be caught (such as Stack_overflow
, Out_of_memory
, etc.) we recommend that code be refactored overtime not to rely on this function. However, this is rather hard to do without assistance from the type checker, thus we currently rely on this function. TBD!