package commons

  1. Overview
  2. Docs
type path = private
  1. | Path of string
val equal_path : path -> path -> Ppx_deriving_runtime.bool
type t = path
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.