package odoc

  1. Overview
  2. Docs
OCaml documentation generator

Install

Dune Dependency

Authors

Maintainers

Sources

odoc-2.1.1.tbz
sha256=f574dbd28cd0fc3a2b95525c4bb95ddf6d1f6408bb4fe12157fa537884f987fd
sha512=1c545c281a7022a167f028fff8cec6fb3f2f82da0881431be74e7a4281c5353ed83bfbdb4d9d9e08af6755dbe3505c052c5e5b58cdeb08c57aed5e89c0f15e91

doc/odoc.odoc/Odoc_odoc/Fs/Directory/index.html

Module Fs.Directory

type t = directory
val dirname : t -> t
val basename : t -> t
val append : t -> t -> t
val reach_from : dir:t -> string -> t
  • raises Invalid_arg

    if parent/name exists but is not a directory.

val mkdir_p : t -> unit
val of_string : string -> t
val to_string : t -> string
val fold_files_rec_result : ?ext:string -> ('a -> file -> ('a, Or_error.msg) Or_error.result) -> 'a -> t -> ('a, [> Or_error.msg ]) Or_error.result

fold_files_rec_result ~ext f acc d recursively folds f over the files with extension matching ext (defaults to "") contained in d and its sub directories. Stop as soon as f returns Error _.

module Table : Hashtbl.S with type key = t
OCaml

Innovation. Community. Security.