function drush_delete_tmp_dir

8.0.x drush_delete_tmp_dir($dir)
6.x drush_delete_tmp_dir($dir)
7.x drush_delete_tmp_dir($dir)
5.x drush_delete_tmp_dir($dir)
master drush_delete_tmp_dir($dir)

Deletes the provided file or folder and everything inside it. This function explicitely tries to delete read-only files / folders.


$dir: The directory to delete

Return value

FALSE on failure, TRUE if everything was deleted

Related topics


includes/, line 193
Filesystem utilities.


function drush_delete_tmp_dir($dir) {
  return drush_delete_dir($dir, TRUE);