Crawler.Snapper.DirMaker (Crawler v1.1.2) View Source

Makes a new (nested) folder according to the options provided.

Link to this section Summary

Functions

Makes a new (nested) folder according to the options provided.

Link to this section Functions

Makes a new (nested) folder according to the options provided.

Examples

iex> DirMaker.make_dir(
iex>   save_to: tmp("snapper/dir_creator"),
iex>   url: "http://hello-world.local"
iex> )
iex> |> Path.relative_to_cwd
"test/tmp/snapper/dir_creator/hello-world.local/index.html"