package file_path
Module File_path_unixSource
include S
include File_path_io.S with type 'a io := 'a
The currently running executable.
OCaml semantics do not guarantee an absolute path here.
File I/O Wrappers
These functions abstract over either In_channel and Out_channel, or Async.Reader and Async.Writer.
Filename Wrappers
These functions abstract over Filename_unix.
Sys Wrappers
These functions abstract over either Core.Sys or Async.Sys.
Unix Wrappers
These functions abstract over either Core_unix or Async.Unix.
Current Directory Functions
These functions combine File_path and getcwd.
Like File_path.make_absolute ~under:(getcwd ()). Avoids calling getcwd unless necessary.
Like File_path.make_relative ~if_under:(getcwd ()). Avoids calling getcwd unless necessary.
Like make_relative_to_cwd. Raises instead of returning None.
Like make_relative_to_cwd. Returns the original path instead of None.