diff --git a/libraries/filesystem b/libraries/filesystem index 7465a5b..a207b0a 100644 --- a/libraries/filesystem +++ b/libraries/filesystem @@ -59,6 +59,16 @@ function makeCoreDirectories() { return 0 } +#------------------------------------------------------------------------------- +# Creates all components of the specified directories assuming thay are empty +# Parameters: %directory% +#------------------------------------------------------------------------------- +function makeCleanDirectory() { + rm -rf "${@}" + makeDirectory "${@}" + return ${?} +} + #------------------------------------------------------------------------------- # Creates all components of the specified directories # Parameters: %directory%