package commons

  1. Overview
  2. Docs
Yet another set of common utilities

Install

Dune Dependency

Authors

Maintainers

Sources

commons_1.8.0.tar.gz
md5=00142d2d5f299c86ee44f19820bf9874
sha512=d25a57c434514ecb9adc5a129eeec9feca1cea2d1383e3bde74b52a05da174a09e0f46e7407f7b86ecdf1bf6faf7e0a66ef744d6fb389cb5f8398bc32e349555

doc/commons/FPath/index.html

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.