Extra v0.2.0 File.Extra

Extensions to the standard library’s File module.

Link to this section Summary

Functions

Ensures that there is a directory pointed to by path. Creates the directory if necessary

Link to this section Functions

Link to this function ensure_dir(path)
ensure_dir(Path.t) :: :ok | no_return

Ensures that there is a directory pointed to by path. Creates the directory if necessary.