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