Module Ecaml__.File

File is for functions that operate on files on the filesystem.

val exists : string ‑> bool

(Info-goto-node "(elisp)Information about Files")

(describe-function 'file-exists-p)

val is_directory : string ‑> bool

(describe-function 'file-exists-p)

(describe-function 'file-directory-p)

val is_executable : string ‑> bool

(describe-function 'file-directory-p)

(describe-function 'file-executable-p)

val is_readable : string ‑> bool

(describe-function 'file-executable-p)

(describe-function 'file-readable-p)

val is_regular : string ‑> bool

(describe-function 'file-readable-p)

(describe-function 'file-regular-p)

val is_writable : string ‑> bool

(describe-function 'file-symlink-p)

(describe-function 'file-writable-p)

val is_below : string ‑> dir:string ‑> bool

(describe-function 'file-in-directory-p)(Info-goto-node "(elisp)Truenames")

val truename : string ‑> string

(describe-function 'file-truename)(Info-goto-node "(elisp)Truenames")

val delete : string ‑> unit

(describe-function 'delete-file)(Info-goto-node "(elisp)Changing Files")

val copy : src:string ‑> dst:string ‑> unit

(describe-function 'copy-file)(Info-goto-node "(elisp)Changing Files")

val rename : src:string ‑> dst:string ‑> unit

(describe-function 'rename-file)(Info-goto-node "(elisp)Changing Files")

val locate_dominating_file : above:Ecaml.Filename.t ‑> basename:string ‑> Ecaml.Filename.t option

(describe-function 'locate-dominating-file)

val locate_dominating_file_exn : above:Ecaml.Filename.t ‑> basename:string ‑> Ecaml.Filename.t

(describe-function 'locate-dominating-file)

val write : ?⁠append:bool ‑> Ecaml.Filename.t ‑> string ‑> unit

(describe-function 'write-region)(Info-goto-node "(elisp)Writing to Files")