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

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

Summary

Functions

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

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"