File.cwd
You're seeing just the function
cwd
, go back to File module for more information.
Specs
Gets the current working directory.
In rare circumstances, this function can fail on Unix-like systems. It may happen
if read permissions do not exist for the parent directories of the
current directory. For this reason, returns {:ok, cwd}
in case
of success, {:error, reason}
otherwise.