package spectrum

  1. Overview
  2. Docs

Module Spectrum.CapabilitiesSource

Sourcetype color_level =
  1. | Unsupported
  2. | Basic
  3. | Eight_bit
  4. | True_color
Sourcetype numeric_version = {
  1. major : int;
  2. minor : int;
  3. patch : int;
}
Sourceval parse_numeric_version : string -> numeric_version
Sourcemodule type EnvProvider = sig ... end
Sourcemodule type OsInfoProvider = sig ... end
Sourcemodule type CapabilitiesProvider = sig ... end
Sourcemodule StrMap : sig ... end
Sourceval env_provider_of_map : string StrMap.t -> (module EnvProvider)
Sourceval os_info_provider : bool -> string option -> (module OsInfoProvider)
Sourcemodule SysOsInfo : sig ... end
Sourcemodule Sys_Capabilities : sig ... end
include module type of struct include Sys_Capabilities end
Sourceval supported_color_level : bool -> color_level
Sourcetype color_level_info = {
  1. stdout : color_level;
  2. stderr : color_level;
}
Sourceval supported_color_levels : unit -> color_level_info
OCaml

Innovation. Community. Security.