package opam-core

  1. Overview
  2. Docs

Module OpamFilename.BaseSource

Basenames

include OpamStd.ABSTRACT
Sourcetype t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval to_json : t -> OpamJson.t
Sourcemodule Set : OpamStd.SET with type elt = t
Sourcemodule Map : OpamStd.MAP with type key = t
Sourceval check_suffix : t -> string -> bool

Check whether a basename has a given suffix

Sourceval add_extension : t -> string -> t

Add a file extension

OCaml

Innovation. Community. Security.