package commons

  1. Overview
  2. Docs

Module FPathSource

Sourcetype path = private
  1. | Path of string
Sourcetype t = path
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval canonical : string -> string
Sourceval (/) : t -> string -> t
Sourceval concat : t -> string -> t
Sourceval apply : f:(string -> 'a) -> t -> 'a
Sourceval cat : t -> string list
Sourceval write_file : file:t -> string -> unit
Sourceval read_file : ?max_len:int -> t -> string
Sourceval file_exists : t -> bool
Sourceval is_directory : t -> bool
Sourceval basename : t -> string
Sourceval dirname : t -> t
Sourceval extension : t -> string
OCaml

Innovation. Community. Security.