package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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 : ?ext:string -> ('a -> file -> 'a) -> 'a -> t -> 'a

fold_files_rec ~ext f acc d recursively folds f over the files with extension matching ext (defaults to "") contained in d and its sub directories.

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

Innovation. Community. Security.