package file_path

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

Prefix operators: of_string synonyms

These use two characters indicating the type of path being constructed: 1. absolute, relative, or either 2. compound or single-part

val (~/) : string -> Types.Relative.t
val (!/) : string -> Types.Absolute.t
val (?/) : string -> Types.Path.t
val (~.) : string -> Types.Part.t

Infix operators: append* synonyms

These use three characters: 1. '/' indicating some kind of path concatenation 2. type of left argument and result 3. type of right argument and kind of concatenation

These operators are left-associative and all share the same precedence.

append synonyms: end in '/' for a compound right argument

append_part synonyms: end in '.' for a single-part right argument

append_to_basename_exn synonyms: end in '^' for string concatenation

val (/~^) : Types.Relative.t -> string -> Types.Relative.t
val (/!^) : Types.Absolute.t -> string -> Types.Absolute.t
val (/?^) : Types.Path.t -> string -> Types.Path.t
val (/.^) : Types.Part.t -> string -> Types.Part.t