package volgo

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

Module Vcs.PlatformSource

A platform in vcs' terminology is an online software development service where users host repositories, such as "GitHub".

This type is used to implement utilities for interacting with various platforms, for example to clone repositories.

The list of supported platforms may grow over time.

Sourcetype t =
  1. | Bitbucket
  2. | Codeberg
  3. | GitHub
  4. | GitLab
  5. | Sourcehut
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval seeded_hash : int -> t -> int
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval all : t list
Sourceval to_string : t -> string

A string representing the platform, using the styled capitalization of the variant constructor. For example, "GitHub" is typically spelled with an uppercase 'H'. This is suitable for inclusion into error messages, user facing logs, etc.