Code.append_path
You're seeing just the function
append_path
, go back to Code module for more information.
Specs
append_path(Path.t()) :: true | {:error, :bad_directory}
Appends a path to the end of the Erlang VM code path list.
This is the list of directories the Erlang VM uses for finding module code.
The path is expanded with Path.expand/1
before being appended.
If this path does not exist, an error is returned.
Examples
Code.append_path(".")
#=> true
Code.append_path("/does_not_exist")
#=> {:error, :bad_directory}