package volgo

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Vcs.PrivateSource

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.

Sourcemodule Import : sig ... end
Sourcemodule Int_table : sig ... end
Sourcemodule Process_output : sig ... end

Manipulating the output of process run by vcs and backends.

Sourcemodule Ref_kind_table : sig ... end
Sourcemodule Rev_table : sig ... end
Sourcemodule Validated_string : sig ... end

Utils to manipulate abstract types that are strings in their implementation.

Sourceval try_with : (unit -> 'a) -> ('a, Err.t) Result.t

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!