Ecaml.FilenameThe name of a file. Functions in this module work directly on names, but do not read from or write to the filesystem.
(Info-goto-node "(elisp)File Names")
include Ppx_compare_lib.Comparable.S with type t := tval sexp_of_t : t -> Sexplib0.Sexp.tinclude Core.Comparable.S
with type t := t
with type comparator_witness = Core.String.comparator_witnessinclude Base.Comparable.S
with type t := t
with type comparator_witness = Core.String.comparator_witnessascending is identical to compare. descending x y = ascending y x. These are intended to be mnemonic when used like List.sort ~compare:ascending and List.sort ~cmp:descending, since they cause the list to be sorted in ascending or descending order, respectively.
clamp_exn t ~min ~max returns t', the closest value to t such that between t' ~low:min ~high:max is true.
Raises if not (min <= max).
type comparator_witness = Core.String.comparator_witnessval comparator : (t, comparator_witness) Base__.Comparator.comparatorval validate_lbound : min:t Core.Maybe_bound.t -> t Validate.checkval validate_ubound : max:t Core.Maybe_bound.t -> t Validate.checkval validate_bound :
min:t Core.Maybe_bound.t ->
max:t Core.Maybe_bound.t ->
t Validate.checkmodule Replace_polymorphic_compare :
Base.Comparable.Polymorphic_compare with type t := tmodule Map :
Core.Map.S
with type Key.t = t
with type Key.comparator_witness = comparator_witnessmodule Set :
Core.Set.S
with type Elt.t = t
with type Elt.comparator_witness = comparator_witnessinclude Core.Hashable.S with type t := tinclude Ppx_compare_lib.Comparable.S with type t := tval compare : t Base__Ppx_compare_lib.compareval hashable : t Core.Hashtbl.Hashable.tmodule Table : Core.Hashtbl.S with type key = tmodule Hash_set : Core.Hash_set.S with type elt = tmodule Hash_queue : Core.Hash_queue.S with type key = tinclude Ecaml_value.Valueable.S with type t := tval of_value_exn : Ecaml_value__.Value0.t -> tval to_value : t -> Ecaml_value__.Value0.tval type_ : t Ecaml_value.Value.Type.tval t : t Ecaml_value.Value.Type.t(describe-function 'file-name-directory) (Info-goto-node "(elisp)File Name Components")
(describe-function 'file-name-nondirectory) (Info-goto-node "(elisp)File Name Components")
val extension_exn : t -> string(describe-function 'file-name-extension) (Info-goto-node "(elisp)File Name Components")
val sans_extension : t -> string(describe-function 'file-name-sans-extension) (Info-goto-node "(elisp)File Name Components")
(describe-function 'file-name-as-directory) (Info-goto-node "(elisp)Directory Names")
(describe-function 'directory-file-name) (Info-goto-node "(elisp)Directory Names")
val is_absolute : t -> bool(describe-function 'file-name-absolute-p) (Info-goto-node "(elisp)Relative File Names")
(describe-function 'file-relative-name) (Info-goto-node "(elisp)Relative File Names")
(describe-function 'expand-file-name) (Info-goto-node "(elisp)File Name Expansion")
val read : prompt:string -> t Async_kernel.Deferred.t(describe-function 'read-file-name)