package stdune

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

Module Path.LocalSource

Relative path with unspecified root.

Either root, or a '/' separated list of components other that ".", ".." and not containing a '/'.

Sourceval hash : t -> int
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval parse_string_exn : loc:Stdune__.Loc0.t -> string -> t

a directory is smaller than its descendants

include Comparator.S with type t := t
Sourceval compare : t -> t -> Ordering.t
include Comparator.OPS with type t := t
Sourceval (=) : t -> t -> bool
Sourceval (>=) : t -> t -> bool
Sourceval (>) : t -> t -> bool
Sourceval (<=) : t -> t -> bool
Sourceval (<) : t -> t -> bool
Sourceval (<>) : t -> t -> bool
Sourceval to_dyn : t -> Dyn.t
Sourceval extension : t -> string
Sourceval set_extension : t -> ext:string -> t

set_extension path ~ext replaces extension of path by ext

Sourceval map_extension : t -> f:(string -> string) -> t

map_extension path ~f replaces extension of path by f extension

Sourceval split_extension : t -> t * string
Sourceval basename : t -> Filename.t
Sourceval basename_opt : t -> Filename.t option
Sourceval extend_basename : t -> suffix:Filename.t -> t
Sourcemodule Map : Map.S with type key = t
Sourcemodule Set : sig ... end
Sourceval equal : t -> t -> bool
Sourceval relative : ?error_loc:Stdune__.Loc0.t -> t -> string -> t
Sourceval to_string_maybe_quoted : t -> string
Sourceval is_descendant : t -> of_:t -> bool
Sourceval is_root : t -> bool
Sourceval parent_exn : t -> t
Sourceval parent : t -> t option
Sourceval root : t
Sourceval append : t -> t -> t
Sourcemodule L : sig ... end
Sourceval split_first_component : t -> (Filename.t * t) option
Sourceval explode : t -> Filename.t list
Sourceval descendant : t -> of_:t -> t option
Sourcemodule Table : Hashtbl.S with type key = t
OCaml

Innovation. Community. Security.