Module Assemblage.Path.Abs

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
See Assemblage.Path.root.
val add : Assemblage.Path.abs -> string -> Assemblage.Path.abs
See Assemblage.Path.add.
val concat : Assemblage.Path.abs -> Assemblage.Path.rel -> Assemblage.Path.abs
See Assemblage.Path.concat.
val (/) : Assemblage.Path.abs -> string -> Assemblage.Path.abs
See Assemblage.Path.(/).
val (//) : Assemblage.Path.abs -> Assemblage.Path.rel -> Assemblage.Path.abs
See Assemblage.Path.(//).
val basename : Assemblage.Path.abs -> string
See Assemblage.Path.basename.
val dirname : Assemblage.Path.abs -> Assemblage.Path.abs
See Assemblage.Path.dirname.
val rem_prefix : Assemblage.Path.abs -> Assemblage.Path.abs -> Assemblage.Path.rel option
See Assemblage.Path.rem_prefix.
val find_prefix : Assemblage.Path.abs -> Assemblage.Path.abs -> Assemblage.Path.abs
See Assemblage.Path.find_prefix.

Predicates and comparison


val is_root : Assemblage.Path.abs -> bool
See Assemblage.Path.is_root.
val is_prefix : Assemblage.Path.abs -> Assemblage.Path.abs -> bool
See Assemblage.Path.is_prefix.
val equal : Assemblage.Path.abs -> Assemblage.Path.abs -> bool
See Assemblage.Path.equal.
val compare : Assemblage.Path.abs -> Assemblage.Path.abs -> int
See Assemblage.Path.compare.

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
See Assemblage.Path.to_string.
val quote : Assemblage.Path.abs -> string
See Assemblage.Path.quote.
val pp : Format.formatter -> Assemblage.Path.abs -> unit
See Assemblage.Path.pp.

File extensions


val ext : Assemblage.Path.abs -> Assemblage.Path.ext option
See Assemblage.Path.ext.
val get_ext : Assemblage.Path.abs -> Assemblage.Path.ext
See Assemblage.Path.get_ext.
val add_ext : Assemblage.Path.abs -> Assemblage.Path.ext -> Assemblage.Path.abs
See Assemblage.Path.add_ext.
val rem_ext : Assemblage.Path.abs -> Assemblage.Path.abs
See Assemblage.Path.rem_ext.
val change_ext : Assemblage.Path.abs -> Assemblage.Path.ext -> Assemblage.Path.abs
See Assemblage.Path.change_ext.
val (+) : Assemblage.Path.abs -> Assemblage.Path.ext -> Assemblage.Path.abs
See Assemblage.Path.(+).
val has_ext : Assemblage.Path.ext -> Assemblage.Path.abs -> bool
See Assemblage.Path.has_ext.
val ext_matches : Assemblage.Path.ext list -> Assemblage.Path.abs -> bool
See Assemblage.Path.ext_matches.

Path sets and maps


module Set: sig .. end
module Map: sig .. end