From 01504d1fb05430bc0fe5f2b30ebd57747a080d84 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Fri, 13 Sep 2013 13:55:14 -0500 Subject: replace use of wildcard ** since it is not in - lists:foldr(fun(File, ok) -> - case filelib:is_dir(File) of - true -> - file:del_dir(File); - false -> - file:delete(File) - end - end, ok, filelib:wildcard(filename:join(Path, "**"))), - ok = file:del_dir(Path). - - %% @doc Makes a directory including parent dirs if they are missing. -spec mkdir_p(string()) -> ok | {error, Reason::file:posix()}. mkdir_p(Path) -> -- cgit v1.2.3