package odoc

  1. Overview
  2. Docs
OCaml documentation generator

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

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

Module Fs.DirectorySource

Sourceval dirname : t -> t
Sourceval basename : t -> t
Sourceval append : t -> t -> t
Sourceval reach_from : dir:t -> string -> t
  • raises Invalid_arg

    if parent/name exists but is not a directory.

Sourceval mkdir_p : t -> unit
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval 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 _.

Sourcemodule Table : Hashtbl.S with type key = t