package ez_file

  1. Overview
  2. Docs

Module type FileSig.FILENAME_OPERATIONSSource

Sourcetype t
Sourceval concat : t -> t -> t
Sourceval is_absolute : t -> bool
Sourceval is_relative : t -> bool
Sourceval is_implicit : t -> bool
Sourceval add_suffix : t -> string -> t
Sourceval check_suffix : t -> string -> bool
Sourceval extensions : t -> string list
Sourceval basename : t -> string
Sourceval dirname : t -> t
Sourceval add_basename : t -> string -> t
Sourceval add_basenames : t -> string list -> t
Sourceval chop_extension : t -> t
Sourceval last_extension : t -> string option
Sourceval current_dir_name : t
Sourceval open_in : t -> in_channel
Sourceval open_out : t -> out_channel
Sourceval open_in_bin : t -> in_channel
Sourceval open_out_bin : t -> out_channel
Sourceval temp_file : t -> string -> t
Sourceval with_in : t -> (in_channel -> unit) -> unit
Sourceval with_in_bin : t -> (in_channel -> unit) -> unit
Sourceval with_out : t -> (out_channel -> unit) -> unit
Sourceval with_out_bin : t -> (out_channel -> unit) -> unit
Sourceval exists : t -> bool
Sourceval getcwd : unit -> t
Sourceval size : t -> int
Sourceval is_directory : t -> bool
Sourceval remove : t -> unit
Sourceval rename : t -> t -> unit
Sourceval stat : t -> MinUnix.stats
Sourceval lstat : t -> MinUnix.stats
Sourcemodule OP : sig ... end
Sourceval copy_rec : t -> t -> unit
Sourceval uncopy_rec : t -> t -> unit
Sourceval find_in_path : string list -> string -> t

find_in_path path filename searches a file in a list of directories.

OCaml

Innovation. Community. Security.