package plato

  1. Overview
  2. Docs
type t
module PathParents : PATH_PARENTS with type path = t
val repr : t -> string
val of_paths : t list -> t
val of_strings : string list -> t
val of_string : string -> t
val to_string : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val hash : t -> int
val eq : t -> t -> bool
val (=) : t -> t -> bool
val lt : t -> t -> bool
val (<) : t -> t -> bool
val le : t -> t -> bool
val (<=) : t -> t -> bool
val gt : t -> t -> bool
val (>) : t -> t -> bool
val ge : t -> t -> bool
val (>=) : t -> t -> bool
val compare : t -> t -> int
val get_drive : t -> string
val get_root : t -> string
val anchor : t -> string
val name : t -> string
val suffix : t -> string
val suffixes : t -> string list
val stem : t -> string
val with_name : t -> string -> t
val with_suffix : t -> string -> t
val relative_to : t -> t -> t
val is_relative_to : t -> t -> bool
val parts : t -> string list
val joinpath : t -> t -> t
val parent : t -> t
val parents : t -> PathParents.t
val is_absolute : t -> bool
val is_reserved : t -> bool
val (/) : t -> t -> t
OCaml

Innovation. Community. Security.