Browse Source

implement makeCleanDirectory()

master
belliash 8 years ago
parent
commit
b802711643
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      libraries/filesystem

+ 10
- 0
libraries/filesystem View File

@@ -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%


Loading…
Cancel
Save