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