Module OpamFilename.Base

Basenames

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
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