package opam-core

  1. Overview
  2. Docs

Basenames

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

Check whether a basename has a given suffix

val add_extension : t -> string -> t

Add a file extension

OCaml

Innovation. Community. Security.