module Core_filename:sig..end
make_absolute ~dir file
If file is relative, returns the path of the file file relative to
directory dir. If file is absolute, then returns file.val make_absolute : string -> dir:string -> stringval is_posix_valid : string -> boolis_posix_valid fval temp_file : ?temp_dir:string -> string -> string -> stringtemp_file ?temp_dir_name prefix suffix
Returns the name of a fresh temporary file in the temporary directory. The
base name of the temporary file is formed by concatenating prefix, then, if
needed, a 6-digit hex number, then suffix. The temporary file is created
empty, with permissions 0o600 (readable and writable only by the file
owner). The file is guaranteed to be fresh, i.e. not already existing in
the directory.
temp_dir : the directory in which to create the temporary fileval temp_dir : ?in_dir:string -> string -> string -> stringval open_temp_file : ?mode:Pervasives.open_flag list ->
?temp_dir:string -> string -> string -> string * Pervasives.out_channelCore_filename.temp_file, but returns both the name of a fresh
temporary file, and an output channel opened (atomically) on
this file. This function is more secure than temp_file: there
is no risk that the temporary file will be modified (e.g. replaced
by a symbolic link) before the program opens it. The optional argument
mode is a list of additional flags to control the opening of the file.
It can contain one or several of Open_append, Open_binary,
and Open_text. The default is Open_text (open in text mode).val temp_dir : ?in_dir:string -> string -> string -> stringval current_dir_name : string
val parent_dir_name : stringval concat : string -> string -> stringval is_relative : string -> boolval is_implicit : string -> boolval check_suffix : string -> string -> boolval chop_suffix : string -> string -> stringval chop_extension : string -> stringval basename : string -> stringval dirname : string -> stringval temp_dir_name : stringval quote : string -> string