Module Ecaml.Directory
val create : ?parents:bool -> Ecaml__.Ecaml_filename.Filename.t -> unit
(describe-function 'make-directory)
(Info-goto-node "(elisp)Create/Delete Dirs")
val delete : ?recursive:bool -> Ecaml__.Ecaml_filename.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 -> Ecaml__.Ecaml_filename.Filename.t -> Ecaml__.Ecaml_filename.Filename.t list
(describe-function 'directory-files)
(Info-goto-node "(elisp)Contents of Directories")
val files_recursively : ?include_directories:bool -> ?matching:Regexp.t -> Ecaml__.Ecaml_filename.Filename.t -> Ecaml__.Ecaml_filename.Filename.t list
(describe-function 'directory-files-recursively)
(Info-goto-node "(elisp)Contents of Directories")
val make_temp_dir : prefix:string -> suffix:string -> Ecaml__.Ecaml_filename.Filename.t
(describe-function 'make-temp-file)
(Info-goto-node "(elisp)Unique File Names")
val with_temp_dir : (_, 'a) Sync_or_async.t -> f:(Ecaml__.Ecaml_filename.Filename.t -> 'a) -> prefix:string -> suffix:string -> 'a
Creates a temp directory, calls
f
on its name, and deletes it afterf
returns, even iff
returns by raising.N.B. This is not the behavior of
(describe-function 'with-temp-file)
.