package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val create : ?parents:bool -> Filename.t -> unit

(describe-function 'make-directory) (Info-goto-node "(elisp)Create/Delete Dirs")

val delete : ?recursive:bool -> Filename.t -> unit

(describe-function 'delete-directory) (Info-goto-node "(elisp)Create/Delete Dirs")

val files : ?absolute:bool -> ?include_dot_and_dotdot:bool -> ?matching:Regexp.t -> ?sort:bool -> Filename.t -> Filename.t list

(describe-function 'directory-files) (Info-goto-node "(elisp)Contents of Directories")

val files_recursively : ?include_directories:bool -> ?matching:Regexp.t -> Filename.t -> Filename.t list

(describe-function 'directory-files-recursively) (Info-goto-node "(elisp)Contents of Directories")

val make_temp_dir : prefix:string -> suffix:string -> Filename.t

(describe-function 'make-temp-file) (Info-goto-node "(elisp)Unique File Names")

val with_temp_dir : (_, 'a) Sync_or_async.t -> f:(Filename.t -> 'a) -> prefix:string -> suffix:string -> 'a

Creates a temp directory, calls f on its name, and deletes it after f returns, even if f returns by raising.

N.B. This is not the behavior of (describe-function 'with-temp-file).

OCaml

Innovation. Community. Security.