package dune-configurator

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Relative path relative to the root tracked by the type system.

Represented as: either the root, or a '/' separated list of components other that ".", ".." and not containing a '/'.

type 'w t
val hash : 'w t -> int
val to_string : 'w t -> string
val of_string : string -> 'w t
val parse_string_exn : loc:Stdune__.Loc0.t -> string -> 'w t
val pp : Format.formatter -> 'w t -> unit
val compare : 'w t -> 'w t -> Ordering.t

a directory is smaller than its descendants

val to_dyn : 'w t -> Dyn.t
val extension : 'w t -> string
val set_extension : 'w t -> ext:string -> 'w t

set_extension path ~ext replaces extension of path by ext

val split_extension : 'w t -> 'w t * string
val basename : 'w t -> string
val extend_basename : 'w t -> suffix:string -> 'w t
module Fix_root (Root : sig ... end) : sig ... end
val relative : ?error_loc:Stdune__.Loc0.t -> 'w t -> string -> 'w t
val to_string_maybe_quoted : 'w t -> string
val is_descendant : 'w t -> of_:'w t -> bool
val is_root : 'w t -> bool
val parent_exn : 'w t -> 'w t
val parent : 'w t -> 'w t option
val explode : 'w t -> string list
val root : 'w t
val append : 'w t -> Stdune__.Path_intf.Unspecified.w t -> 'w t
val descendant : 'w t -> of_:'w t -> Stdune__.Path_intf.Unspecified.w t option
val reach : 'w t -> from:'w t -> string
val split_first_component : 'w t -> (string * Stdune__.Path_intf.Unspecified.w t) option
module L : sig ... end
OCaml

Innovation. Community. Security.