module Abs: sig
.. end
Absolute paths.
Absolute paths
type
path = As_path.t
type
t = As_path.abs
val root : As_path.abs
val add : As_path.abs -> string -> As_path.abs
val concat : As_path.abs -> As_path.rel -> As_path.abs
val (/) : As_path.abs -> string -> As_path.abs
val (//) : As_path.abs -> As_path.rel -> As_path.abs
val basename : As_path.abs -> string
val dirname : As_path.abs -> As_path.abs
val rem_prefix : As_path.abs -> As_path.abs -> As_path.rel option
val find_prefix : As_path.abs -> As_path.abs -> As_path.abs
Predicates and comparison
val is_root : As_path.abs -> bool
val is_prefix : As_path.abs -> As_path.abs -> bool
val equal : As_path.abs -> As_path.abs -> bool
val compare : As_path.abs -> As_path.abs -> int
Conversions
val to_segs : As_path.abs -> string list
val of_segs : string list -> As_path.abs
val to_string : As_path.abs -> string
val quote : As_path.abs -> string
val pp : Format.formatter -> As_path.abs -> unit
File extensions
val ext : As_path.abs -> As_path.ext option
val get_ext : As_path.abs -> As_path.ext
val add_ext : As_path.abs -> As_path.ext -> As_path.abs
val rem_ext : As_path.abs -> As_path.abs
val change_ext : As_path.abs -> As_path.ext -> As_path.abs
val (+) : As_path.abs -> As_path.ext -> As_path.abs
val has_ext : As_path.ext -> As_path.abs -> bool
val ext_matches : As_path.ext list -> As_path.abs -> bool
Path sets and maps
module Set: sig
.. end
module Map: sig
.. end