stdune

Dune's unstable standard library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdune
Module Stdune . Path . Local_gen
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 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 map_extension : 'W t -> f:( string -> string ) -> 'W t

map_extension path ~f replaces extension of path by f extension

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