Mix.Generator.create_directory

You're seeing just the function create_directory, go back to Mix.Generator module for more information.
Link to this function

create_directory(path, options \\ [])

View Source

Specs

create_directory(Path.t(), keyword()) :: true

Creates a directory if one does not exist yet.

This function does nothing if the given directory already exists; in this case, it still logs the directory creation.

Options

  • :quiet - does not log command output

Examples

iex> Mix.Generator.create_directory("path/to/dir")
* creating path/to/dir
true