package commons

  1. Overview
  2. Docs
type path = private
  1. | Path of string
val pp_path : Ppx_deriving_runtime.Format.formatter -> path -> Ppx_deriving_runtime.unit
val show_path : path -> Ppx_deriving_runtime.string
val equal_path : path -> path -> Ppx_deriving_runtime.bool
type t = path
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val equal : t -> t -> Ppx_deriving_runtime.bool
val of_string : string -> t
val to_string : t -> string
val canonical : string -> string
val (/) : t -> string -> t
val concat : t -> string -> t
val apply : f:(string -> 'a) -> t -> 'a
val cat : t -> string list
val write_file : file:t -> string -> unit
val read_file : ?max_len:int -> t -> string
val file_exists : t -> bool
val is_directory : t -> bool
val basename : t -> string
val dirname : t -> t
val extension : t -> string
OCaml

Innovation. Community. Security.