Drush: Filesystem convenience functions.

  1. 7.x doxygen/html/group__filesystemfunctions.html
  2. master doxygen/html/group__filesystemfunctions.html
Drush
Filesystem convenience functions.

Functions

 drush_is_absolute_path ($path, $os=NULL)
 drush_correct_absolute_path_for_exec ($path, $os=NULL)
 drush_trim_path ($path, $os=NULL)
 drush_normalize_path ($path)
 drush_dir_md5 ($dir)
 drush_delete_dir ($dir, $force=FALSE, $follow_symlinks=FALSE)
 drush_delete_dir_contents ($dir, $force=FALSE)
 drush_delete_tmp_dir ($dir)
 drush_copy_dir ($src, $dest, $overwrite=FILE_EXISTS_ABORT)
 _drush_recursive_copy ($src, $dest)
 drush_move_dir ($src, $dest, $overwrite=FALSE)
 drush_mkdir ($path, $required=TRUE)
 drush_save_data_to_temp_file ($data, $suffix=NULL)
 drush_find_tmp ()
 drush_tempnam ($pattern, $tmp_dir=NULL, $suffix= '')
 drush_tempdir ()
 drush_register_file_for_deletion ($file=NULL)
 _drush_delete_registered_files ()
 drush_preflight_backup_dir ($subdir=NULL)
 drush_prepare_backup_dir ($subdir=NULL)
 drush_file_not_empty ($file_to_test)
 drush_scan_directory ($dir, $mask, $nomask=array('.', '..', 'CVS'), $callback=0, $recurse_max_depth=TRUE, $key= 'filename', $min_depth=0, $include_dot_files=FALSE, $depth=0)
 drush_file_append_data ($file, $data)

Variables

const FILE_EXISTS_ABORT = 0
const FILE_EXISTS_OVERWRITE = 1
const FILE_EXISTS_MERGE = 2

Detailed Description

Function Documentation

_drush_delete_registered_files ( )

Delete all of the registered temporary files.

Definition at line 529 of file filesystem.inc.

References drush_delete_dir(), and drush_register_file_for_deletion().

Referenced by drush_core_runserver().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_recursive_copy (   $src,
  $dest 
)

Internal function called by drush_copy_dir; do not use directly.

Definition at line 248 of file filesystem.inc.

References drush_is_windows(), and drush_mkdir().

Here is the call graph for this function:

drush_copy_dir (   $src,
  $dest,
  $overwrite = FILE_EXISTS_ABORT 
)

Copy $src to $dest.

Parameters
$srcThe directory to copy.
$destThe destination to copy the source to, including the new name of the directory. To copy directory "a" from "/b" to "/c", then $src = "/b/a" and $dest = "/c/a". To copy "a" to "/c" and rename it to "d", then $dest = "/c/d".
$overwriteAction to take if destination already exists.
Returns
TRUE on success, FALSE on failure.

Definition at line 215 of file filesystem.inc.

References drush_log(), drush_op(), drush_set_error(), dt(), and FILE_EXISTS_ABORT.

Referenced by _make_download_file_move(), DrushMakeProject\applyPatches(), drush_move_dir(), drush_tarball_extract(), DrushMakeProject\getTranslations(), make_download_bzr(), make_download_git(), make_move_build(), make_prepare_install(), and drush_version_control_backup\pre_update().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_correct_absolute_path_for_exec (   $path,
  $os = NULL 
)

If we are going to pass a path to exec or proc_open, then we need to fix it up under CYGWIN or MINGW. In both of these environments, PHP works with absolute paths such as "C:\path". CYGWIN expects these to be converted to "/cygdrive/c/path" and MINGW expects these to be converted to "/c/path"; otherwise, the exec will not work.

This call does nothing if the parameter is not an absolute path, or we are not running under CYGWIN / MINGW.

UPDATE: It seems I was mistaken; this is only necessary if we are using cwRsync. We do not need to correct every path to exec or proc_open (thank god).

Definition at line 55 of file filesystem.inc.

References drush_is_absolute_path(), drush_is_cygwin(), and drush_is_windows().

Referenced by drush_sitealias_evaluate_path().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_delete_dir (   $dir,
  $force = FALSE,
  $follow_symlinks = FALSE 
)

Deletes the specified file or directory and everything inside it.

Usually respects read-only files and folders. To do a forced delete use drush_delete_tmp_dir() or set the parameter $forced.

Parameters
string$dirThe file or directory to delete.
bool$forceWhether or not to try everything possible to delete the directory, even if it's read-only. Defaults to FALSE.
bool$follow_symlinksWhether or not to delete symlinked files. Defaults to FALSE–simply unlinking symbolic links.
Returns
bool FALSE on failure, TRUE if everything was deleted.

Definition at line 126 of file filesystem.inc.

References drush_delete_dir_contents().

Referenced by _drush_delete_registered_files(), _make_download_file_move(), _pm_update_core(), _pm_update_move_files(), Drush\Cache\FileCache\clear(), drush_delete_dir_contents(), drush_delete_tmp_dir(), drush_pm_download(), drush_pm_updatecode_rollback(), drush_sitealias_site_set(), make_clean_tmp(), make_download_bzr(), make_download_file_unpack(), package_handler_download_project(), and DrushMakeProject\removeGitDirectory().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_delete_dir_contents (   $dir,
  $force = FALSE 
)

Deletes the contents of a directory.

Parameters
string$dirThe directory to delete.
bool$forceWhether or not to try everything possible to delete the contents, even if they're read-only. Defaults to FALSE.
Returns
bool FALSE on failure, TRUE if everything was deleted.

Definition at line 164 of file filesystem.inc.

References drush_delete_dir().

Referenced by drush_config_export(), and drush_delete_dir().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Parameters
$dirThe directory to delete
Returns
FALSE on failure, TRUE if everything was deleted

Definition at line 193 of file filesystem.inc.

References drush_delete_dir().

Here is the call graph for this function:

drush_dir_md5 (   $dir)

Calculates a single md5 hash for all files a directory (incuding subdirectories)

Definition at line 96 of file filesystem.inc.

References drush_scan_directory().

Referenced by make_md5(), Unish\archiveDumpCase\testArchiveRestore(), and Unish\archiveDumpCase\testArchiveRestoreNoCore().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_file_append_data (   $file,
  $data 
)

Simple helper function to append data to a given file.

Parameters
string$fileThe full path to the file to append the data to.
string$dataThe data to append.
Returns
boolean TRUE on success, FALSE in case of failure to open or write to the file.

Definition at line 705 of file filesystem.inc.

References drush_set_error(), and dt().

Referenced by drush_pm_inject_info_file_metadata().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_file_not_empty (   $file_to_test)

Test to see if a file exists and is not empty

Definition at line 610 of file filesystem.inc.

Referenced by _drush_download_file(), and _drush_sync_via_http_download_file().

Here is the caller graph for this function:

drush_find_tmp ( )

Returns the path to a temporary directory.

This is a custom version of Drupal's file_directory_path(). We can't directly rely on sys_get_temp_dir() as this path is not valid in some setups for Mac, and we want to honor an environment variable (used by tests).

Definition at line 422 of file filesystem.inc.

References drush_cwd(), drush_is_windows(), drush_mkdir(), drush_register_file_for_deletion(), drush_set_error(), and dt().

Referenced by drush_directory_cache(), drush_tempdir(), drush_tempnam(), and make_tmp().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_is_absolute_path (   $path,
  $os = NULL 
)

Determines whether the provided path is absolute or not on the specified O.S. – starts with "/" on *nix, or starts with "[A-Z]:\" or "[A-Z]:/" on Windows.

Definition at line 25 of file filesystem.inc.

References drush_is_windows().

Referenced by _drush_sitealias_get_record(), drush_correct_absolute_path_for_exec(), drush_engine_topic_command(), drush_sitealias_evaluate_path(), and DrushMakeProject\preprocessLocalFileUrl().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_mkdir (   $path,
  $required = TRUE 
)

Cross-platform compatible helper function to recursively create a directory tree.

Parameters
pathPath to directory to create.
requiredIf TRUE, then drush_mkdir will call drush_set_error on failure.

Callers should always do their own error handling after calling drush_mkdir. If $required is FALSE, then a different location should be selected, and a final error message should be displayed if no usable locations can be found.

See Also
drush_directory_cache(). If $required is TRUE, then the execution of the current command should be halted if the required directory cannot be created.

Definition at line 355 of file filesystem.inc.

References drush_set_error(), and dt().

Referenced by _drush_recursive_copy(), _pm_download_destination_lookup(), _pm_update_core(), Drush\Sql\Sqlsqlite\createdb(), drush_archive_dump(), drush_core_quick_drupal(), drush_directory_cache(), drush_find_tmp(), drush_pm_download(), drush_pm_download_validate(), drush_prepare_backup_dir(), drush_sitealias_site_set(), drush_tarball_extract(), drush_tempdir(), DrushMakeProject\findDownloadLocation(), DrushMakeProject_Core\findDownloadLocation(), DrushMakeProject\getTranslations(), make_move_build(), make_prepare_install(), make_tar(), make_tmp(), package_handler_download_project(), pm_drush_pm_download_destination_alter(), drush_version_control_backup\pre_update(), and Drush\Cache\FileCache\set().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_move_dir (   $src,
  $dest,
  $overwrite = FALSE 
)

Move $src to $dest.

If the php 'rename' function doesn't work, then we'll do copy & delete.

Parameters
$srcThe directory to move.
$destThe destination to move the source to, including the new name of the directory. To move directory "a" from "/b" to "/c", then $src = "/b/a" and $dest = "/c/a". To move "a" to "/c" and rename it to "d", then $dest = "/c/d" (just like php rename function).
$overwriteIf TRUE, the destination will be deleted if it exists.
Returns
TRUE on success, FALSE on failure.

Definition at line 302 of file filesystem.inc.

References drush_copy_dir(), drush_op(), drush_set_error(), and dt().

Referenced by _drush_download_file(), _drush_sync_via_http_download_file(), _make_download_file_move(), _pm_update_move_files(), drush_archive_dump(), drush_archive_restore(), make_download_file_unpack(), make_move_build(), make_tar(), package_handler_download_project(), drush_version_control_backup\pre_update(), and drush_version_control_backup\rollback().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_normalize_path (   $path)

Makes sure the path has only path separators native for the current operating system

Definition at line 83 of file filesystem.inc.

References drush_is_windows(), and drush_trim_path().

Referenced by drush_notify_send_text(), and drush_sitealias_add_to_alias_path().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_preflight_backup_dir (   $subdir = NULL)

Decide where our backup directory should go

Parameters
string$subdirThe name of the desired subdirectory(s) under drush-backups. Usually a database name.

Definition at line 555 of file filesystem.inc.

References drush_get_context(), drush_get_option(), drush_server_home(), drush_set_context(), drush_sql_get_class(), and drush_trim_path().

Referenced by drush_prepare_backup_dir().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_prepare_backup_dir (   $subdir = NULL)

Prepare a backup directory

Definition at line 582 of file filesystem.inc.

References drush_get_context(), drush_mkdir(), drush_preflight_backup_dir(), drush_set_error(), and dt().

Here is the call graph for this function:

drush_register_file_for_deletion (   $file = NULL)

Any file passed in to this function will be deleted when drush exits.

Definition at line 513 of file filesystem.inc.

Referenced by _drush_delete_registered_files(), drush_download_file(), drush_find_tmp(), drush_tempdir(), drush_tempnam(), drush_xkcd_display(), and make_tmp().

Here is the caller graph for this function:

drush_save_data_to_temp_file (   $data,
  $suffix = NULL 
)

Save a string to a temporary file. Does not depend on Drupal's API. The temporary file will be automatically deleted when drush exits.

Parameters
string$data
string$suffixAppend string to filename. use of this parameter if is discouraged.
See Also
drush_tempnam().
Returns
string A path to the file.

Definition at line 401 of file filesystem.inc.

References drush_tempnam().

Referenced by Drush\Sql\Sqlmysql\creds(), drush_engine_topic_command(), and Drush\Sql\SqlBase\query().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_scan_directory (   $dir,
  $mask,
  $nomask = array('.', '..', 'CVS'),
  $callback = 0,
  $recurse_max_depth = TRUE,
  $key = 'filename',
  $min_depth = 0,
  $include_dot_files = FALSE,
  $depth = 0 
)

Finds all files that match a given mask in a given directory. Directories and files beginning with a period are excluded; this prevents hidden files and directories (such as SVN working directories and GIT repositories) from being scanned.

Parameters
$dirThe base directory for the scan, without trailing slash.
$maskThe regular expression of the files to find.
$nomaskAn array of files/directories to ignore.
$callbackThe callback function to call for each match.
$recurse_max_depthWhen TRUE, the directory scan will recurse the entire tree starting at the provided directory. When FALSE, only files in the provided directory are returned. Integer values limit the depth of the traversal, with zero being treated identically to FALSE, and 1 limiting the traversal to the provided directory and its immediate children only, and so on.
$keyThe key to be used for the returned array of files. Possible values are "filename", for the path starting with $dir, "basename", for the basename of the file, and "name" for the name of the file without an extension.
$min_depthMinimum depth of directories to return files from.
$include_dot_filesIf TRUE, files that begin with a '.' will be returned if they match the provided mask. If FALSE, files that begin with a '.' will not be returned, even if they match the provided mask.
$depthCurrent depth of recursion. This parameter is only used internally and should not be passed.
Returns
An associative array (keyed on the provided key) of objects with "path", "basename", and "name" members corresponding to the matching files.

Definition at line 661 of file filesystem.inc.

References drush_op().

Referenced by _drush_find_local_sites_at_root(), _drush_find_local_sites_in_sites_folder(), _drush_sitealias_find_alias_files(), _drush_sitealias_site_list(), _make_download_file_move(), _pm_update_core(), _pm_update_move_files(), Drush\Cache\FileCache\clear(), drush_archive_guess_manifest(), drush_core_php_script(), drush_dir_md5(), drush_docs_errorcodes(), drush_pm_download(), drush_pm_extensions_in_project(), drush_pm_inject_info_file_metadata(), DrushMakeProject\getTranslations(), Drush\Cache\FileCache\isEmpty(), make_move_build(), pm_drush_pm_download_destination_alter(), and pm_update_project().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_tempdir ( )

Creates a temporary directory and return its path.

Definition at line 499 of file filesystem.inc.

References drush_find_tmp(), drush_mkdir(), drush_register_file_for_deletion(), and drush_trim_path().

Referenced by drush_archive_dump(), drush_archive_restore(), drush_config_edit(), drush_config_import(), drush_pm_download(), make_download_bzr(), make_download_file_unpack(), and make_download_git().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_tempnam (   $pattern,
  $tmp_dir = NULL,
  $suffix = '' 
)

Creates a temporary file, and registers it so that it will be deleted when drush exits. Whenever possible, drush_save_data_to_temp_file() should be used instead of this function.

Parameters
stringsuffix Append this suffix to the filename. Use of this parameter is discouraged as it can break the guarantee of tempname(). See http://www.php.net/manual/en/function.tempnam.php#42052. Originally added to support Oracle driver.

Definition at line 485 of file filesystem.inc.

References drush_find_tmp(), and drush_register_file_for_deletion().

Referenced by _drush_download_file(), _drush_sync_via_http_download_file(), drush_docs_errorcodes(), drush_pm_updatecode(), drush_print_file(), drush_save_data_to_temp_file(), drush_tarball_extract(), release_info_print_releasenotes(), and updatexml_get_release_history_xml().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_trim_path (   $path,
  $os = NULL 
)

Remove the trailing DIRECTORY_SEPARATOR from a path. Will actually remove either / or \ on Windows.

Definition at line 71 of file filesystem.inc.

References drush_is_windows().

Referenced by drush_normalize_path(), drush_preflight_backup_dir(), drush_sitealias_evaluate_path(), drush_tempdir(), and package_handler_download_project().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const FILE_EXISTS_ABORT = 0

Behavior for drush_copy_dir() and drush_move_dir() when destinations exist.

Definition at line 16 of file filesystem.inc.

Referenced by drush_copy_dir().

File

doxygen/html/group__filesystemfunctions.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: Filesystem convenience functions.</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Filesystem convenience functions.</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gafa80199035259ddf98fa300d6f646aa2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gafa80199035259ddf98fa300d6f646aa2">drush_is_absolute_path</a> ($path, $os=NULL)</td></tr>
<tr class="memitem:gab498c6ce1c17115444e96c0de0c3eb52"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gab498c6ce1c17115444e96c0de0c3eb52">drush_correct_absolute_path_for_exec</a> ($path, $os=NULL)</td></tr>
<tr class="memitem:ga5a78fe09f2e16740db898df3237da602"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga5a78fe09f2e16740db898df3237da602">drush_trim_path</a> ($path, $os=NULL)</td></tr>
<tr class="memitem:ga4126321d45e8a9c454048869dd42a27c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga4126321d45e8a9c454048869dd42a27c">drush_normalize_path</a> ($path)</td></tr>
<tr class="memitem:ga0f53b7283625a345a693516b6d70ce00"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga0f53b7283625a345a693516b6d70ce00">drush_dir_md5</a> ($dir)</td></tr>
<tr class="memitem:gabff54c630a451976fc121257f6efd960"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960">drush_delete_dir</a> ($dir, $force=FALSE, $follow_symlinks=FALSE)</td></tr>
<tr class="memitem:ga7ba5be839cd5d2104eaf9c26da63c97d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d">drush_delete_dir_contents</a> ($dir, $force=FALSE)</td></tr>
<tr class="memitem:ga4ef0cec620f06ff117a7460a0dc8e1e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga4ef0cec620f06ff117a7460a0dc8e1e7">drush_delete_tmp_dir</a> ($dir)</td></tr>
<tr class="memitem:ga1d86ac8e2e56a75acb0abcdc8e0dcf09"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09">drush_copy_dir</a> ($src, $dest, $overwrite=<a class="el" href="group__filesystemfunctions.html#ga0721d1c550493aac709a150081d91d1b">FILE_EXISTS_ABORT</a>)</td></tr>
<tr class="memitem:gaf237aeaf9f013771952b592a414f5267"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gaf237aeaf9f013771952b592a414f5267">_drush_recursive_copy</a> ($src, $dest)</td></tr>
<tr class="memitem:gaac7379e8cfa2163a874542fc021bf521"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521">drush_move_dir</a> ($src, $dest, $overwrite=FALSE)</td></tr>
<tr class="memitem:ga6027285d97028ad3299d3aa262be8c2f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f">drush_mkdir</a> ($path, $required=TRUE)</td></tr>
<tr class="memitem:gadb66635fa63012fb084f8e96a392776d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d">drush_save_data_to_temp_file</a> ($data, $suffix=NULL)</td></tr>
<tr class="memitem:gad1036a8fb12d105b55de87b4f3fe8002"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002">drush_find_tmp</a> ()</td></tr>
<tr class="memitem:ga01729c5c432a2f30974966d888146d09"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09">drush_tempnam</a> ($pattern, $tmp_dir=NULL, $suffix= '')</td></tr>
<tr class="memitem:ga883d28ed54603b2d268902cec2379804"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga883d28ed54603b2d268902cec2379804">drush_tempdir</a> ()</td></tr>
<tr class="memitem:ga7557e035207db8d2dbe475e6a52c579c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c">drush_register_file_for_deletion</a> ($file=NULL)</td></tr>
<tr class="memitem:ga6ee4f2d02364120bb883cfdf8cd2cfab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga6ee4f2d02364120bb883cfdf8cd2cfab">_drush_delete_registered_files</a> ()</td></tr>
<tr class="memitem:gaa69fcbb2b3c7a50c42f8fb10b4067364"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gaa69fcbb2b3c7a50c42f8fb10b4067364">drush_preflight_backup_dir</a> ($subdir=NULL)</td></tr>
<tr class="memitem:ga8b411cc66e895a6ea8a50c5560b15684"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga8b411cc66e895a6ea8a50c5560b15684">drush_prepare_backup_dir</a> ($subdir=NULL)</td></tr>
<tr class="memitem:ga0d795889ef507c45abb793b8685b36d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga0d795889ef507c45abb793b8685b36d0">drush_file_not_empty</a> ($file_to_test)</td></tr>
<tr class="memitem:ga1c545390a8890f6ea47385f79fbe2e82"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82">drush_scan_directory</a> ($dir, $mask, $nomask=array('.', '..', 'CVS'), $callback=0, $recurse_max_depth=TRUE, $key= 'filename', $min_depth=0, $include_dot_files=FALSE, $depth=0)</td></tr>
<tr class="memitem:gaa937217ceef1edbab4bdcd37301d1990"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#gaa937217ceef1edbab4bdcd37301d1990">drush_file_append_data</a> ($file, $data)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga0721d1c550493aac709a150081d91d1b"><td class="memItemLeft" align="right" valign="top">const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__filesystemfunctions.html#ga0721d1c550493aac709a150081d91d1b">FILE_EXISTS_ABORT</a> = 0</td></tr>
<tr class="memitem:gad5d1231729c32c4b97f5f3a0b0575b0d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad5d1231729c32c4b97f5f3a0b0575b0d"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><b>FILE_EXISTS_OVERWRITE</b> = 1</td></tr>
<tr class="memitem:ga84e34d920884116a533073135633c980"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga84e34d920884116a533073135633c980"></a>
const&#160;</td><td class="memItemRight" valign="bottom"><b>FILE_EXISTS_MERGE</b> = 2</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<h2>Function Documentation</h2>
<a class="anchor" id="ga6ee4f2d02364120bb883cfdf8cd2cfab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_delete_registered_files </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Delete all of the registered temporary files. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00529">529</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00126">drush_delete_dir()</a>, and <a class="el" href="filesystem_8inc_source.html#l00513">drush_register_file_for_deletion()</a>.</p>

<p>Referenced by <a class="el" href="runserver_8drush_8inc_source.html#l00061">drush_core_runserver()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_cgraph" id="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960" title="drush_delete_dir" alt="" coords="227,5,344,35"/><area shape="rect" id="node8" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="221,58,349,105"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d" title="drush_delete_dir_contents" alt="" coords="399,5,572,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_icgraph" id="group__filesystemfunctions_ga6ee4f2d02364120bb883cfdf8cd2cfab_icgraph">
<area shape="rect" id="node3" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="221,13,368,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaf237aeaf9f013771952b592a414f5267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_recursive_copy </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Internal function called by drush_copy_dir; do not use directly. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00248">248</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>, and <a class="el" href="filesystem_8inc_source.html#l00355">drush_mkdir()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaf237aeaf9f013771952b592a414f5267_cgraph.png" border="0" usemap="#group__filesystemfunctions_gaf237aeaf9f013771952b592a414f5267_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaf237aeaf9f013771952b592a414f5267_cgraph" id="group__filesystemfunctions_gaf237aeaf9f013771952b592a414f5267_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="212,96,340,125"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="229,149,323,179"/><area shape="rect" id="node7" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="389,108,501,137"/><area shape="rect" id="node20" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="427,191,464,220"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="783,56,937,85"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1020,81,1148,111"/><area shape="rect" id="node13" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="551,160,732,189"/><area shape="rect" id="node16" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="603,5,680,35"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="575,213,708,259"/><area shape="rect" id="node24" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="788,160,932,189"/><area shape="rect" id="node26" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="987,160,1181,189"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga1d86ac8e2e56a75acb0abcdc8e0dcf09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_copy_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$overwrite</em> = <code><a class="el" href="group__filesystemfunctions.html#ga0721d1c550493aac709a150081d91d1b">FILE_EXISTS_ABORT</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy $src to $dest.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$src</td><td>The directory to copy. </td></tr>
    <tr><td class="paramname">$dest</td><td>The destination to copy the source to, including the new name of the directory. To copy directory "a" from "/b" to "/c", then $src = "/b/a" and $dest = "/c/a". To copy "a" to "/c" and rename it to "d", then $dest = "/c/d". </td></tr>
    <tr><td class="paramname">$overwrite</td><td>Action to take if destination already exists.<ul>
<li>FILE_EXISTS_OVERWRITE - completely removes existing directory.</li>
<li>FILE_EXISTS_ABORT - aborts the operation.</li>
<li>FILE_EXISTS_MERGE - Leaves existing files and directories in place. </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE on success, FALSE on failure. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00215">215</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="drush_8inc_source.html#l00659">drush_op()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, <a class="el" href="output_8inc_source.html#l00145">dt()</a>, and <a class="el" href="filesystem_8inc_source.html#l00016">FILE_EXISTS_ABORT</a>.</p>

<p>Referenced by <a class="el" href="make_8download_8inc_source.html#l00162">_make_download_file_move()</a>, <a class="el" href="make_8project_8inc_source.html#l00247">DrushMakeProject\applyPatches()</a>, <a class="el" href="filesystem_8inc_source.html#l00302">drush_move_dir()</a>, <a class="el" href="drush_8inc_source.html#l00958">drush_tarball_extract()</a>, <a class="el" href="make_8project_8inc_source.html#l00407">DrushMakeProject\getTranslations()</a>, <a class="el" href="make_8download_8inc_source.html#l00349">make_download_bzr()</a>, <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>, <a class="el" href="make_8drush_8inc_source.html#l00584">make_move_build()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00399">make_prepare_install()</a>, and <a class="el" href="backup_8inc_source.html#l00013">drush_version_control_backup\pre_update()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_cgraph" id="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_cgraph">
<area shape="rect" id="node3" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="379,179,456,208"/><area shape="rect" id="node10" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="184,127,259,156"/><area shape="rect" id="node16" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="399,5,436,35"/><area shape="rect" id="node25" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="165,231,277,260"/><area shape="rect" id="node5" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="559,229,713,259"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="991,177,1119,207"/><area shape="rect" id="node12" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="345,58,489,105"/><area shape="rect" id="node18" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="569,27,703,74"/><area shape="rect" id="node20" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="764,56,908,85"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="957,56,1152,85"/><area shape="rect" id="node28" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="327,333,508,363"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_icgraph" id="group__filesystemfunctions_ga1d86ac8e2e56a75acb0abcdc8e0dcf09_icgraph">
<area shape="rect" id="node3" href="make_8download_8inc.html#a74fc37b0ad8db7422b33cbadbe302325" title="_make_download_file_move" alt="" coords="357,411,544,440"/><area shape="rect" id="node5" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="1043,84,1256,113"/><area shape="rect" id="node9" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521" title="drush_move_dir" alt="" coords="180,516,295,545"/><area shape="rect" id="node22" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="388,867,513,896"/><area shape="rect" id="node39" href="classdrush__version__control__backup.html#aa6d4b12d4fe6e525ca364a57cbf769f8" title="drush_version_control\l_backup\\pre_update" alt="" coords="376,919,525,966"/><area shape="rect" id="node54" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="1039,137,1260,167"/><area shape="rect" id="node102" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="167,296,308,325"/><area shape="rect" id="node109" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="167,671,308,700"/><area shape="rect" id="node111" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="169,724,305,753"/><area shape="rect" id="node114" href="make_8utilities_8inc.html#a7ac27f598c36208652191f40f08c2332" title="make_prepare_install" alt="" coords="603,32,747,61"/><area shape="rect" id="node7" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1311,97,1476,127"/><area shape="rect" id="node11" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="380,621,521,651"/><area shape="rect" id="node13" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="376,357,525,387"/><area shape="rect" id="node15" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="381,287,520,334"/><area shape="rect" id="node26" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="413,813,488,843"/><area shape="rect" id="node29" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="807,550,988,597"/><area shape="rect" id="node31" href="updatecode_8pm_8inc.html#ab11eea54f55781b92561a28a8e39f224" title="_pm_update_move_files" alt="" coords="369,568,532,597"/><area shape="rect" id="node41" href="classdrush__version__control__backup.html#a0957924f0360e2afa4133063a514e22f" title="drush_version_control\l_backup\\rollback" alt="" coords="376,674,525,721"/><area shape="rect" id="node43" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="376,743,525,790"/><area shape="rect" id="node47" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="377,464,524,493"/><area shape="rect" id="node17" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="1080,244,1219,273"/><area shape="rect" id="node19" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="1323,215,1464,244"/><area shape="rect" id="node24" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="593,840,756,869"/><area shape="rect" id="node33" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1543,631,1668,660"/><area shape="rect" id="node37" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="599,567,751,614"/><area shape="rect" id="node35" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1735,604,1887,633"/><area shape="rect" id="node45" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="604,743,745,790"/><area shape="rect" id="node49" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="605,344,744,373"/><area shape="rect" id="node51" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="824,240,971,269"/><area shape="rect" id="node66" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="805,187,989,216"/><area shape="rect" id="node68" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="829,344,965,373"/><area shape="rect" id="node73" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="1332,563,1455,610"/><area shape="rect" id="node83" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="820,405,975,451"/><area shape="rect" id="node58" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="1095,191,1204,220"/><area shape="rect" id="node60" href="make_8utilities_8inc.html#ac0c5ebc3f3671b4fe5723088000791fa" title="make_parse_info_file" alt="" coords="1321,155,1465,184"/><area shape="rect" id="node62" href="make_8utilities_8inc.html#acb37b7739b2d486d1920a413676c42bf" title="_make_parse_info_file" alt="" coords="1529,120,1681,149"/><area shape="rect" id="node64" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1764,76,1857,105"/><area shape="rect" id="node70" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="1087,297,1212,327"/><area shape="rect" id="node76" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1535,464,1676,493"/><area shape="rect" id="node78" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1525,524,1685,553"/><area shape="rect" id="node80" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1531,577,1680,607"/><area shape="rect" id="node85" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="1083,350,1216,397"/><area shape="rect" id="node93" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="1085,420,1213,449"/><area shape="rect" id="node97" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="1063,473,1236,503"/><area shape="rect" id="node87" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="1315,337,1472,383"/><area shape="rect" id="node89" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="1317,267,1469,314"/><area shape="rect" id="node91" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="1315,407,1472,436"/><area shape="rect" id="node99" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="1327,511,1460,540"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gab498c6ce1c17115444e96c0de0c3eb52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_correct_absolute_path_for_exec </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$os</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If we are going to pass a path to exec or proc_open, then we need to fix it up under CYGWIN or MINGW. In both of these environments, PHP works with absolute paths such as "C:\path". CYGWIN expects these to be converted to "/cygdrive/c/path" and MINGW expects these to be converted to "/c/path"; otherwise, the exec will not work.</p>
<p>This call does nothing if the parameter is not an absolute path, or we are not running under CYGWIN / MINGW.</p>
<p>UPDATE: It seems I was mistaken; this is only necessary if we are using cwRsync. We do not need to correct every path to exec or proc_open (thank god). </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00055">55</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00025">drush_is_absolute_path()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00511">drush_is_cygwin()</a>, and <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8inc_source.html#l01842">drush_sitealias_evaluate_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_cgraph.png" border="0" usemap="#group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_cgraph" id="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gafa80199035259ddf98fa300d6f646aa2" title="drush_is_absolute_path" alt="" coords="212,5,369,35"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="420,32,548,61"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#acb6cf64eca1804a5f5ca34cad6e2c66b" title="drush_is_cygwin" alt="" coords="232,109,349,139"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_icgraph.png" border="0" usemap="#group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_icgraph" id="group__filesystemfunctions_gab498c6ce1c17115444e96c0de0c3eb52_icgraph">
<area shape="rect" id="node3" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="211,13,408,43"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="457,13,607,43"/><area shape="rect" id="node7" href="core_8drush_8inc.html#af176c288575033228263e7f9fcf406f4" title="drush_core_drupal_directory" alt="" coords="657,13,841,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gabff54c630a451976fc121257f6efd960"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_delete_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$force</em> = <code>FALSE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$follow_symlinks</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deletes the specified file or directory and everything inside it.</p>
<p>Usually respects read-only files and folders. To do a forced delete use <a class="el" href="group__filesystemfunctions.html#ga4ef0cec620f06ff117a7460a0dc8e1e7">drush_delete_tmp_dir()</a> or set the parameter $forced.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$dir</td><td>The file or directory to delete. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$force</td><td>Whether or not to try everything possible to delete the directory, even if it's read-only. Defaults to FALSE. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$follow_symlinks</td><td>Whether or not to delete symlinked files. Defaults to FALSE&ndash;simply unlinking symbolic links.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool FALSE on failure, TRUE if everything was deleted. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00126">126</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00164">drush_delete_dir_contents()</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00529">_drush_delete_registered_files()</a>, <a class="el" href="make_8download_8inc_source.html#l00162">_make_download_file_move()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00123">_pm_update_core()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00220">_pm_update_move_files()</a>, <a class="el" href="FileCache_8php_source.html#l00111">Drush\Cache\FileCache\clear()</a>, <a class="el" href="filesystem_8inc_source.html#l00164">drush_delete_dir_contents()</a>, <a class="el" href="filesystem_8inc_source.html#l00193">drush_delete_tmp_dir()</a>, <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00375">drush_pm_updatecode_rollback()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00343">drush_sitealias_site_set()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00384">make_clean_tmp()</a>, <a class="el" href="make_8download_8inc_source.html#l00349">make_download_bzr()</a>, <a class="el" href="make_8download_8inc_source.html#l00110">make_download_file_unpack()</a>, <a class="el" href="wget_8inc_source.html#l00038">package_handler_download_project()</a>, and <a class="el" href="make_8project_8inc_source.html#l00388">DrushMakeProject\removeGitDirectory()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_cgraph.png" border="0" usemap="#group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_cgraph" id="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d" title="drush_delete_dir_contents" alt="" coords="172,5,345,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_icgraph.png" border="0" usemap="#group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_icgraph" id="group__filesystemfunctions_gabff54c630a451976fc121257f6efd960_icgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga6ee4f2d02364120bb883cfdf8cd2cfab" title="_drush_delete_registered\l_files" alt="" coords="185,5,351,51"/><area shape="rect" id="node7" href="make_8download_8inc.html#a74fc37b0ad8db7422b33cbadbe302325" title="_make_download_file_move" alt="" coords="175,75,361,104"/><area shape="rect" id="node9" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="435,137,560,167"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#ab11eea54f55781b92561a28a8e39f224" title="_pm_update_move_files" alt="" coords="187,179,349,208"/><area shape="rect" id="node16" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="421,211,573,258"/><area shape="rect" id="node18" href="classDrush_1_1Cache_1_1FileCache.html#a44a013d5f478004d9899ebc189bb89d3" title="Drush\\Cache\\FileCache\l\\clear" alt="" coords="187,282,349,329"/><area shape="rect" id="node20" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d" title="drush_delete_dir_contents" alt="" coords="181,352,355,381"/><area shape="rect" id="node25" href="group__filesystemfunctions.html#ga4ef0cec620f06ff117a7460a0dc8e1e7" title="drush_delete_tmp_dir" alt="" coords="195,405,341,435"/><area shape="rect" id="node27" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="197,459,339,488"/><area shape="rect" id="node30" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="187,512,349,541"/><area shape="rect" id="node32" href="make_8utilities_8inc.html#ae13ed28f360182a4df0620a68d251fd6" title="make_clean_tmp" alt="" coords="208,565,328,595"/><area shape="rect" id="node36" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="197,619,339,648"/><area shape="rect" id="node38" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="199,671,337,718"/><area shape="rect" id="node44" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="177,741,359,787"/><area shape="rect" id="node46" href="classDrushMakeProject.html#a79be6b5aafd3dd119b5928e2dd2a7096" title="DrushMakeProject\\removeGit\lDirectory" alt="" coords="171,810,365,857"/><area shape="rect" id="node5" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="424,13,571,43"/><area shape="rect" id="node11" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="631,137,783,167"/><area shape="rect" id="node22" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="428,352,567,381"/><area shape="rect" id="node34" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="416,565,579,595"/><area shape="rect" id="node40" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="428,680,567,709"/><area shape="rect" id="node42" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="636,680,777,709"/><area shape="rect" id="node48" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="415,819,580,848"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga7ba5be839cd5d2104eaf9c26da63c97d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_delete_dir_contents </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$force</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deletes the contents of a directory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$dir</td><td>The directory to delete. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$force</td><td>Whether or not to try everything possible to delete the contents, even if they're read-only. Defaults to FALSE.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>bool FALSE on failure, TRUE if everything was deleted. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00164">164</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00126">drush_delete_dir()</a>.</p>

<p>Referenced by <a class="el" href="config_8drush_8inc_source.html#l00267">drush_config_export()</a>, and <a class="el" href="filesystem_8inc_source.html#l00126">drush_delete_dir()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_cgraph" id="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960" title="drush_delete_dir" alt="" coords="229,5,347,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_icgraph" id="group__filesystemfunctions_ga7ba5be839cd5d2104eaf9c26da63c97d_icgraph">
<area shape="rect" id="node3" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="229,325,368,355"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960" title="drush_delete_dir" alt="" coords="240,379,357,408"/><area shape="rect" id="node7" href="group__filesystemfunctions.html#ga6ee4f2d02364120bb883cfdf8cd2cfab" title="_drush_delete_registered\l_files" alt="" coords="431,5,596,51"/><area shape="rect" id="node11" href="make_8download_8inc.html#a74fc37b0ad8db7422b33cbadbe302325" title="_make_download_file_move" alt="" coords="420,75,607,104"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="680,137,805,167"/><area shape="rect" id="node17" href="updatecode_8pm_8inc.html#ab11eea54f55781b92561a28a8e39f224" title="_pm_update_move_files" alt="" coords="432,179,595,208"/><area shape="rect" id="node20" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="667,211,819,258"/><area shape="rect" id="node22" href="classDrush_1_1Cache_1_1FileCache.html#a44a013d5f478004d9899ebc189bb89d3" title="Drush\\Cache\\FileCache\l\\clear" alt="" coords="432,282,595,329"/><area shape="rect" id="node25" href="group__filesystemfunctions.html#ga4ef0cec620f06ff117a7460a0dc8e1e7" title="drush_delete_tmp_dir" alt="" coords="440,352,587,381"/><area shape="rect" id="node27" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="443,405,584,435"/><area shape="rect" id="node30" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="432,459,595,488"/><area shape="rect" id="node32" href="make_8utilities_8inc.html#ae13ed28f360182a4df0620a68d251fd6" title="make_clean_tmp" alt="" coords="453,512,573,541"/><area shape="rect" id="node36" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="443,565,584,595"/><area shape="rect" id="node38" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="444,618,583,665"/><area shape="rect" id="node44" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="423,687,604,734"/><area shape="rect" id="node46" href="classDrushMakeProject.html#a79be6b5aafd3dd119b5928e2dd2a7096" title="DrushMakeProject\\removeGit\lDirectory" alt="" coords="416,757,611,803"/><area shape="rect" id="node9" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="669,13,816,43"/><area shape="rect" id="node15" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="876,137,1028,167"/><area shape="rect" id="node34" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="661,512,824,541"/><area shape="rect" id="node40" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="673,627,812,656"/><area shape="rect" id="node42" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="881,627,1023,656"/><area shape="rect" id="node48" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="660,765,825,795"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga4ef0cec620f06ff117a7460a0dc8e1e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_delete_tmp_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deletes the provided file or folder and everything inside it. This function explicitely tries to delete read-only files / folders.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$dir</td><td>The directory to delete </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FALSE on failure, TRUE if everything was deleted </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00193">193</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00126">drush_delete_dir()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga4ef0cec620f06ff117a7460a0dc8e1e7_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga4ef0cec620f06ff117a7460a0dc8e1e7_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga4ef0cec620f06ff117a7460a0dc8e1e7_cgraph" id="group__filesystemfunctions_ga4ef0cec620f06ff117a7460a0dc8e1e7_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960" title="drush_delete_dir" alt="" coords="200,5,317,35"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d" title="drush_delete_dir_contents" alt="" coords="367,5,540,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga0f53b7283625a345a693516b6d70ce00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_dir_md5 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculates a single md5 hash for all files a directory (incuding subdirectories) </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00096">96</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00661">drush_scan_directory()</a>.</p>

<p>Referenced by <a class="el" href="make_8utilities_8inc_source.html#l00410">make_md5()</a>, <a class="el" href="archiveDumpTest_8php_source.html#l00090">Unish\archiveDumpCase\testArchiveRestore()</a>, and <a class="el" href="archiveDumpTest_8php_source.html#l00122">Unish\archiveDumpCase\testArchiveRestoreNoCore()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_cgraph" id="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="160,100,307,129"/><area shape="rect" id="node5" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="355,100,429,129"/><area shape="rect" id="node7" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="479,5,623,51"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1095,151,1223,180"/><area shape="rect" id="node11" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="701,125,779,155"/><area shape="rect" id="node17" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="532,203,569,232"/><area shape="rect" id="node13" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="857,176,1012,205"/><area shape="rect" id="node19" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="673,207,807,254"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="863,229,1007,259"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1061,229,1256,259"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_icgraph" id="group__filesystemfunctions_ga0f53b7283625a345a693516b6d70ce00_icgraph">
<area shape="rect" id="node3" href="make_8utilities_8inc.html#abc341fc62b92a8eef00bf92aa24a90df" title="make_md5" alt="" coords="209,5,295,35"/><area shape="rect" id="node7" href="classUnish_1_1archiveDumpCase.html#a762a3d51f4c1f7a7cd6e890d8692edd1" title="Unish\\archiveDumpCase\l\\testArchiveRestore" alt="" coords="168,58,336,105"/><area shape="rect" id="node9" href="classUnish_1_1archiveDumpCase.html#a06c092b80b6ee1a4203d3f948ec90118" title="Unish\\archiveDumpCase\l\\testArchiveRestoreNoCore" alt="" coords="161,127,343,174"/><area shape="rect" id="node5" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="393,5,556,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaa937217ceef1edbab4bdcd37301d1990"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_file_append_data </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Simple helper function to append data to a given file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$file</td><td>The full path to the file to append the data to. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$data</td><td>The data to append.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>boolean TRUE on success, FALSE in case of failure to open or write to the file. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00705">705</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01810">drush_pm_inject_info_file_metadata()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_cgraph.png" border="0" usemap="#group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_cgraph" id="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="213,108,325,137"/><area shape="rect" id="node16" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="251,191,288,220"/><area shape="rect" id="node5" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="607,56,761,85"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="844,81,972,111"/><area shape="rect" id="node9" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="375,160,556,189"/><area shape="rect" id="node12" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="427,5,504,35"/><area shape="rect" id="node18" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="399,213,532,259"/><area shape="rect" id="node20" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="612,160,756,189"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="811,160,1005,189"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_icgraph.png" border="0" usemap="#group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_icgraph" id="group__filesystemfunctions_gaa937217ceef1edbab4bdcd37301d1990_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#ae5c95f9279eaddddd401970d1065c023" title="drush_pm_inject_info\l_file_metadata" alt="" coords="215,39,359,86"/><area shape="rect" id="node5" href="git__drupalorg_8inc.html#a24cb40954a8234867336586a498d76b2" title="package_handler_post\l_download" alt="" coords="423,5,575,51"/><area shape="rect" id="node9" href="classDrushMakeProject.html#ae64371ebab222251d13f492bb1bf7549" title="DrushMakeProject\\process\lGitInfoFiles" alt="" coords="409,74,588,121"/><area shape="rect" id="node7" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="651,13,792,43"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="639,83,804,112"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga0d795889ef507c45abb793b8685b36d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_file_not_empty </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$file_to_test</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Test to see if a file exists and is not empty </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00610">610</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>Referenced by <a class="el" href="drush_8inc_source.html#l00801">_drush_download_file()</a>, and <a class="el" href="sync__via__http_8drush_8inc_source.html#l00089">_drush_sync_via_http_download_file()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga0d795889ef507c45abb793b8685b36d0_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga0d795889ef507c45abb793b8685b36d0_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga0d795889ef507c45abb793b8685b36d0_icgraph" id="group__filesystemfunctions_ga0d795889ef507c45abb793b8685b36d0_icgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="201,367,348,396"/><area shape="rect" id="node84" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="200,419,349,466"/><area shape="rect" id="node5" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="400,367,539,396"/><area shape="rect" id="node7" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="608,108,755,137"/><area shape="rect" id="node35" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="589,283,773,312"/><area shape="rect" id="node37" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="613,336,749,365"/><area shape="rect" id="node41" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="591,389,772,435"/><area shape="rect" id="node43" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="1060,594,1183,641"/><area shape="rect" id="node56" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="604,458,759,505"/><area shape="rect" id="node9" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="1477,108,1691,137"/><area shape="rect" id="node13" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="1473,55,1695,84"/><area shape="rect" id="node16" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="839,5,977,35"/><area shape="rect" id="node20" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="853,185,963,215"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1745,108,1911,137"/><area shape="rect" id="node18" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="1051,5,1192,35"/><area shape="rect" id="node22" href="make_8utilities_8inc.html#ac0c5ebc3f3671b4fe5723088000791fa" title="make_parse_info_file" alt="" coords="1049,199,1193,228"/><area shape="rect" id="node24" href="make_8utilities_8inc.html#acb37b7739b2d486d1920a413676c42bf" title="_make_parse_info_file" alt="" coords="1260,160,1412,189"/><area shape="rect" id="node28" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="1512,211,1656,258"/><area shape="rect" id="node32" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="1496,281,1672,311"/><area shape="rect" id="node26" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1781,220,1875,249"/><area shape="rect" id="node39" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="845,336,971,365"/><area shape="rect" id="node45" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1273,579,1399,608"/><area shape="rect" id="node49" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1265,525,1407,555"/><area shape="rect" id="node51" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1256,685,1416,715"/><area shape="rect" id="node53" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1261,632,1411,661"/><area shape="rect" id="node47" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1508,605,1660,635"/><area shape="rect" id="node58" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="841,393,975,439"/><area shape="rect" id="node75" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="844,467,972,496"/><area shape="rect" id="node79" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="821,541,995,571"/><area shape="rect" id="node60" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="1043,298,1200,345"/><area shape="rect" id="node64" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="1045,367,1197,414"/><area shape="rect" id="node68" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="1043,437,1200,467"/><area shape="rect" id="node62" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="1261,315,1411,344"/><area shape="rect" id="node66" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="1248,368,1424,397"/><area shape="rect" id="node71" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1283,472,1389,501"/><area shape="rect" id="node81" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="1055,541,1188,571"/><area shape="rect" id="node86" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="399,419,540,466"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gad1036a8fb12d105b55de87b4f3fe8002"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_find_tmp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the path to a temporary directory.</p>
<p>This is a custom version of Drupal's file_directory_path(). We can't directly rely on sys_get_temp_dir() as this path is not valid in some setups for Mac, and we want to honor an environment variable (used by tests). </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00422">422</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00115">drush_cwd()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>, <a class="el" href="filesystem_8inc_source.html#l00355">drush_mkdir()</a>, <a class="el" href="filesystem_8inc_source.html#l00513">drush_register_file_for_deletion()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="includes_2environment_8inc_source.html#l00691">drush_directory_cache()</a>, <a class="el" href="filesystem_8inc_source.html#l00499">drush_tempdir()</a>, <a class="el" href="filesystem_8inc_source.html#l00485">drush_tempnam()</a>, and <a class="el" href="make_8utilities_8inc_source.html#l00353">make_tmp()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_cgraph.png" border="0" usemap="#group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_cgraph" id="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="553,31,639,61"/><area shape="rect" id="node10" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="167,97,295,126"/><area shape="rect" id="node12" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="184,201,277,230"/><area shape="rect" id="node14" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="344,161,456,190"/><area shape="rect" id="node26" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="381,253,419,282"/><area shape="rect" id="node35" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="167,304,295,351"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="975,110,1103,139"/><area shape="rect" id="node7" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="751,31,879,61"/><area shape="rect" id="node16" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="737,135,892,165"/><area shape="rect" id="node19" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="505,186,687,215"/><area shape="rect" id="node22" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="557,239,635,269"/><area shape="rect" id="node28" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="529,292,663,339"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="743,285,887,314"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="941,285,1136,314"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_icgraph.png" border="0" usemap="#group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_icgraph" id="group__filesystemfunctions_gad1036a8fb12d105b55de87b4f3fe8002_icgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="167,391,319,420"/><area shape="rect" id="node58" href="group__filesystemfunctions.html#ga883d28ed54603b2d268902cec2379804" title="drush_tempdir" alt="" coords="408,1480,512,1509"/><area shape="rect" id="node75" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="185,781,300,811"/><area shape="rect" id="node98" href="make_8utilities_8inc.html#ab3c72a6d8be958f40fc0cbcca29a183b" title="make_tmp" alt="" coords="419,1021,501,1051"/><area shape="rect" id="node5" href="usage_8drush_8inc.html#ad52add4a2eb3f87d4d284409b2003039" title="_drush_usage_get_file" alt="" coords="384,85,536,115"/><area shape="rect" id="node13" href="classDrush_1_1Cache_1_1FileCache.html#ab324a73105e21d2e133a440286189d1d" title="Drush\\Cache\\FileCache\l\\cacheDirectory" alt="" coords="379,234,541,281"/><area shape="rect" id="node19" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="371,421,549,451"/><area shape="rect" id="node51" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="637,1261,773,1291"/><area shape="rect" id="node53" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="369,351,551,398"/><area shape="rect" id="node7" href="usage_8drush_8inc.html#a315af941461f0a0d3b4ec1c5063d94ac" title="drush_usage_send" alt="" coords="640,5,771,35"/><area shape="rect" id="node9" href="usage_8drush_8inc.html#ab9ed81c63a7f92ea9336314205780bd0" title="drush_usage_show" alt="" coords="639,59,772,88"/><area shape="rect" id="node11" href="usage_8drush_8inc.html#a0a90320da8f9df59381caaf3338d60cf" title="usage_drush_exit" alt="" coords="644,112,767,141"/><area shape="rect" id="node15" href="classDrush_1_1Cache_1_1FileCache.html#a88300712df4c30ea8c0039d037f081ae" title="Drush\\Cache\\FileCache\l\\__construct" alt="" coords="624,165,787,211"/><area shape="rect" id="node17" href="classDrush_1_1Cache_1_1FileCache.html#a44a013d5f478004d9899ebc189bb89d3" title="Drush\\Cache\\FileCache\l\\clear" alt="" coords="624,234,787,281"/><area shape="rect" id="node21" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="636,627,775,656"/><area shape="rect" id="node27" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="860,627,1041,674"/><area shape="rect" id="node35" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1305,547,1447,576"/><area shape="rect" id="node23" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="877,783,1024,812"/><area shape="rect" id="node29" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="889,558,1012,605"/><area shape="rect" id="node42" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="873,701,1028,747"/><area shape="rect" id="node25" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="1101,992,1240,1021"/><area shape="rect" id="node31" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1108,599,1233,628"/><area shape="rect" id="node37" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1091,495,1251,524"/><area shape="rect" id="node39" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1096,705,1245,735"/><area shape="rect" id="node33" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1300,705,1452,735"/><area shape="rect" id="node44" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="1104,758,1237,805"/><area shape="rect" id="node46" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="1107,652,1235,681"/><area shape="rect" id="node56" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="623,303,788,350"/><area shape="rect" id="node60" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="635,1699,776,1728"/><area shape="rect" id="node62" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="631,1419,780,1448"/><area shape="rect" id="node64" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="636,1592,775,1621"/><area shape="rect" id="node66" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="644,1645,767,1675"/><area shape="rect" id="node68" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="636,1471,775,1518"/><area shape="rect" id="node72" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="635,1315,776,1344"/><area shape="rect" id="node77" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="627,680,784,709"/><area shape="rect" id="node82" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="385,629,535,675"/><area shape="rect" id="node84" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="387,699,533,728"/><area shape="rect" id="node87" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="389,1392,531,1421"/><area shape="rect" id="node92" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d" title="drush_save_data_to\l_temp_file" alt="" coords="391,802,529,849"/><area shape="rect" id="node94" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="405,525,515,555"/><area shape="rect" id="node101" href="make_8drush_8inc.html#ad9b2f2e15282d634a58229f30d819bde" title="drush_make_process" alt="" coords="632,941,779,971"/><area shape="rect" id="node103" href="classDrushMakeProject.html#a825d48df1bdb0d0d0e46992e175909af" title="DrushMakeProject\\generatePath" alt="" coords="600,995,811,1024"/><area shape="rect" id="node105" href="make_8utilities_8inc.html#ae13ed28f360182a4df0620a68d251fd6" title="make_clean_tmp" alt="" coords="645,1048,765,1077"/><area shape="rect" id="node109" href="make_8utilities_8inc.html#abc341fc62b92a8eef00bf92aa24a90df" title="make_md5" alt="" coords="663,1155,748,1184"/><area shape="rect" id="node111" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="643,1208,768,1237"/><area shape="rect" id="node113" href="make_8utilities_8inc.html#a7ac27f598c36208652191f40f08c2332" title="make_prepare_install" alt="" coords="633,835,777,864"/><area shape="rect" id="node115" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="652,888,759,917"/><area shape="rect" id="node117" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="668,1101,743,1131"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gafa80199035259ddf98fa300d6f646aa2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_is_absolute_path </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$os</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Determines whether the provided path is absolute or not on the specified O.S. &ndash; starts with "/" on *nix, or starts with "[A-Z]:\" or "[A-Z]:/" on Windows. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00025">25</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8inc_source.html#l00210">_drush_sitealias_get_record()</a>, <a class="el" href="filesystem_8inc_source.html#l00055">drush_correct_absolute_path_for_exec()</a>, <a class="el" href="engines_8inc_source.html#l00326">drush_engine_topic_command()</a>, <a class="el" href="sitealias_8inc_source.html#l01842">drush_sitealias_evaluate_path()</a>, and <a class="el" href="make_8project_8inc_source.html#l00230">DrushMakeProject\preprocessLocalFileUrl()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_cgraph.png" border="0" usemap="#group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_cgraph" id="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="215,5,343,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_icgraph.png" border="0" usemap="#group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_icgraph" id="group__filesystemfunctions_gafa80199035259ddf98fa300d6f646aa2_icgraph">
<area shape="rect" id="node3" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="243,598,384,645"/><area shape="rect" id="node19" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1713,1083,1911,1112"/><area shape="rect" id="node106" href="group__filesystemfunctions.html#gab498c6ce1c17115444e96c0de0c3eb52" title="drush_correct_absolute\l_path_for_exec" alt="" coords="495,1186,652,1233"/><area shape="rect" id="node109" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="247,1237,380,1283"/><area shape="rect" id="node112" href="classDrushMakeProject.html#a44714696c45b971da01dd29a529fd01b" title="DrushMakeProject\\preprocess\lLocalFileUrl" alt="" coords="215,1306,412,1353"/><area shape="rect" id="node5" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="507,598,640,645"/><area shape="rect" id="node8" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="988,342,1159,389"/><area shape="rect" id="node17" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1223,1083,1423,1112"/><area shape="rect" id="node25" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1252,322,1393,369"/><area shape="rect" id="node31" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="1961,463,2111,492"/><area shape="rect" id="node37" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="752,791,907,838"/><area shape="rect" id="node54" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="753,413,905,443"/><area shape="rect" id="node60" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1004,697,1143,727"/><area shape="rect" id="node63" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="745,223,913,270"/><area shape="rect" id="node68" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1237,127,1408,156"/><area shape="rect" id="node72" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="735,343,924,390"/><area shape="rect" id="node74" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="753,87,905,134"/><area shape="rect" id="node84" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1257,962,1388,1009"/><area shape="rect" id="node87" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="1260,846,1385,893"/><area shape="rect" id="node90" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="751,567,908,614"/><area shape="rect" id="node95" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="995,627,1152,674"/><area shape="rect" id="node102" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="760,688,899,717"/><area shape="rect" id="node104" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="761,911,897,958"/><area shape="rect" id="node10" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="1248,238,1397,285"/><area shape="rect" id="node12" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="1488,247,1648,276"/><area shape="rect" id="node14" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1491,177,1645,223"/><area shape="rect" id="node21" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="1961,1083,2111,1112"/><area shape="rect" id="node23" href="core_8drush_8inc.html#af176c288575033228263e7f9fcf406f4" title="drush_core_drupal_directory" alt="" coords="2161,1083,2345,1112"/><area shape="rect" id="node27" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1480,300,1656,329"/><area shape="rect" id="node35" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1487,353,1649,383"/><area shape="rect" id="node29" href="complete_8inc.html#a9249f2a38d16e008506147243482b39c" title="drush_complete_process_argv" alt="" coords="1713,405,1911,435"/><area shape="rect" id="node33" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1759,100,1865,129"/><area shape="rect" id="node39" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1247,777,1399,807"/><area shape="rect" id="node52" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1020,751,1127,780"/><area shape="rect" id="node41" href="commands_2core_2drupal_2batch_8inc.html#aaf9128a2dbd643871368ffdc18216a76" title="_drush_backend_batch\l_process" alt="" coords="1491,769,1645,815"/><area shape="rect" id="node43" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1497,665,1639,695"/><area shape="rect" id="node45" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="1473,593,1663,623"/><area shape="rect" id="node47" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="1489,962,1647,1009"/><area shape="rect" id="node50" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1508,849,1628,879"/><area shape="rect" id="node56" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1015,289,1132,319"/><area shape="rect" id="node58" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1013,413,1133,443"/><area shape="rect" id="node65" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1011,233,1136,263"/><area shape="rect" id="node76" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="975,129,1172,159"/><area shape="rect" id="node78" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="992,76,1155,105"/><area shape="rect" id="node97" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="1249,687,1396,734"/><area shape="rect" id="node114" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="467,1341,680,1371"/><area shape="rect" id="node118" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="463,1288,684,1317"/><area shape="rect" id="node116" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="747,1315,912,1344"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga6027285d97028ad3299d3aa262be8c2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_mkdir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$required</em> = <code>TRUE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Cross-platform compatible helper function to recursively create a directory tree.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>Path to directory to create. </td></tr>
    <tr><td class="paramname">required</td><td>If TRUE, then drush_mkdir will call drush_set_error on failure.</td></tr>
  </table>
  </dd>
</dl>
<p>Callers should <em>always</em> do their own error handling after calling drush_mkdir. If $required is FALSE, then a different location should be selected, and a final error message should be displayed if no usable locations can be found. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0">drush_directory_cache()</a>. If $required is TRUE, then the execution of the current command should be halted if the required directory cannot be created. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00355">355</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00248">_drush_recursive_copy()</a>, <a class="el" href="download_8pm_8inc_source.html#l00290">_pm_download_destination_lookup()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00123">_pm_update_core()</a>, <a class="el" href="Sqlsqlite_8php_source.html#l00028">Drush\Sql\Sqlsqlite\createdb()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="core_8drush_8inc_source.html#l00841">drush_core_quick_drupal()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00691">drush_directory_cache()</a>, <a class="el" href="filesystem_8inc_source.html#l00422">drush_find_tmp()</a>, <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, <a class="el" href="download_8pm_8inc_source.html#l00011">drush_pm_download_validate()</a>, <a class="el" href="filesystem_8inc_source.html#l00582">drush_prepare_backup_dir()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00343">drush_sitealias_site_set()</a>, <a class="el" href="drush_8inc_source.html#l00958">drush_tarball_extract()</a>, <a class="el" href="filesystem_8inc_source.html#l00499">drush_tempdir()</a>, <a class="el" href="make_8project_8inc_source.html#l00200">DrushMakeProject\findDownloadLocation()</a>, <a class="el" href="make_8project_8inc_source.html#l00588">DrushMakeProject_Core\findDownloadLocation()</a>, <a class="el" href="make_8project_8inc_source.html#l00407">DrushMakeProject\getTranslations()</a>, <a class="el" href="make_8drush_8inc_source.html#l00584">make_move_build()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00399">make_prepare_install()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00417">make_tar()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00353">make_tmp()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00047">package_handler_download_project()</a>, <a class="el" href="download_8pm_8inc_source.html#l00254">pm_drush_pm_download_destination_alter()</a>, <a class="el" href="backup_8inc_source.html#l00013">drush_version_control_backup\pre_update()</a>, and <a class="el" href="FileCache_8php_source.html#l00073">Drush\Cache\FileCache\set()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_cgraph" id="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="147,108,259,137"/><area shape="rect" id="node16" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="184,191,221,220"/><area shape="rect" id="node5" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="540,56,695,85"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="777,81,905,111"/><area shape="rect" id="node9" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="308,160,489,189"/><area shape="rect" id="node12" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="360,5,437,35"/><area shape="rect" id="node18" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="332,213,465,259"/><area shape="rect" id="node20" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="545,160,689,189"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="744,160,939,189"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_icgraph" id="group__filesystemfunctions_ga6027285d97028ad3299d3aa262be8c2f_icgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gaf237aeaf9f013771952b592a414f5267" title="_drush_recursive_copy" alt="" coords="167,5,321,35"/><area shape="rect" id="node5" href="download_8pm_8inc.html#a6fd957d1eb7a2b91bcd4b4662371200a" title="_pm_download_destination\l_lookup" alt="" coords="155,139,333,186"/><area shape="rect" id="node9" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="916,168,1057,197"/><area shape="rect" id="node11" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="416,431,541,460"/><area shape="rect" id="node15" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a228915e396c86dc94e6cc3eb3e778b1e" title="Drush\\Sql\\Sqlsqlite\l\\createdb" alt="" coords="177,1509,311,1555"/><area shape="rect" id="node17" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="651,563,792,592"/><area shape="rect" id="node19" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="161,1579,327,1608"/><area shape="rect" id="node21" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="403,352,555,381"/><area shape="rect" id="node34" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="631,159,812,206"/><area shape="rect" id="node37" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="189,564,299,593"/><area shape="rect" id="node40" href="group__filesystemfunctions.html#ga883d28ed54603b2d268902cec2379804" title="drush_tempdir" alt="" coords="427,719,531,748"/><area shape="rect" id="node58" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="651,509,792,539"/><area shape="rect" id="node65" href="make_8utilities_8inc.html#ab3c72a6d8be958f40fc0cbcca29a183b" title="make_tmp" alt="" coords="437,1091,520,1120"/><area shape="rect" id="node69" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="876,1351,1097,1380"/><area shape="rect" id="node77" href="classDrushMakeProject.html#a8276ef71b946cf3ae13391c2216e51bd" title="DrushMakeProject\\findDownload\lLocation" alt="" coords="880,1403,1093,1450"/><area shape="rect" id="node80" href="classDrushMakeProject__Core.html#aeeeab034aff41fb288b7cd03cdab50db" title="DrushMakeProject_Core\l\\findDownloadLocation" alt="" coords="904,1490,1069,1537"/><area shape="rect" id="node91" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="659,1144,784,1173"/><area shape="rect" id="node94" href="make_8utilities_8inc.html#a7ac27f598c36208652191f40f08c2332" title="make_prepare_install" alt="" coords="649,1251,793,1280"/><area shape="rect" id="node101" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="684,931,759,960"/><area shape="rect" id="node105" href="download_8pm_8inc.html#aa785bd2402492043b9acaee375c8ceeb" title="drush_pm_download_validate" alt="" coords="148,1632,340,1661"/><area shape="rect" id="node107" href="group__filesystemfunctions.html#ga8b411cc66e895a6ea8a50c5560b15684" title="drush_prepare_backup_dir" alt="" coords="157,1685,331,1715"/><area shape="rect" id="node109" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="163,1739,325,1768"/><area shape="rect" id="node121" href="download_8pm_8inc.html#ab35a163fb97c0a4e0668f0e2b7c78559" title="pm_drush_pm_download\l_destination_alter" alt="" coords="161,1791,327,1838"/><area shape="rect" id="node123" href="classdrush__version__control__backup.html#aa6d4b12d4fe6e525ca364a57cbf769f8" title="drush_version_control\l_backup\\pre_update" alt="" coords="169,1861,319,1907"/><area shape="rect" id="node125" href="classDrush_1_1Cache_1_1FileCache.html#a3dbfdb88cc4a26a874c7ecce16341187" title="Drush\\Cache\\FileCache\\set" alt="" coords="152,1931,336,1960"/><area shape="rect" id="node7" href="download_8pm_8inc.html#aee000b980768765f95ac1e36ddbb08ab" title="_pm_download_destination" alt="" coords="389,144,568,173"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="645,405,797,435"/><area shape="rect" id="node23" href="usage_8drush_8inc.html#ad52add4a2eb3f87d4d284409b2003039" title="_drush_usage_get_file" alt="" coords="645,299,797,328"/><area shape="rect" id="node25" href="classDrush_1_1Cache_1_1FileCache.html#ab324a73105e21d2e133a440286189d1d" title="Drush\\Cache\\FileCache\l\\cacheDirectory" alt="" coords="640,229,803,275"/><area shape="rect" id="node27" href="drush_8inc.html#a6b7589c9e3cd3f683c0ef137e1c30f49" title="drush_download_file_name" alt="" coords="632,352,811,381"/><area shape="rect" id="node32" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="653,824,789,853"/><area shape="rect" id="node30" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="896,391,1077,438"/><area shape="rect" id="node55" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="421,509,536,539"/><area shape="rect" id="node43" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="912,687,1061,716"/><area shape="rect" id="node45" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="652,771,791,800"/><area shape="rect" id="node47" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="660,667,783,696"/><area shape="rect" id="node49" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="917,585,1056,631"/><area shape="rect" id="node52" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="651,877,792,907"/><area shape="rect" id="node61" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="895,509,1079,539"/><area shape="rect" id="node67" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="648,1304,795,1333"/><area shape="rect" id="node73" href="make_8drush_8inc.html#ad9b2f2e15282d634a58229f30d819bde" title="drush_make_process" alt="" coords="648,1091,795,1120"/><area shape="rect" id="node75" href="classDrushMakeProject.html#a825d48df1bdb0d0d0e46992e175909af" title="DrushMakeProject\\generatePath" alt="" coords="616,1459,827,1488"/><area shape="rect" id="node82" href="make_8utilities_8inc.html#ae13ed28f360182a4df0620a68d251fd6" title="make_clean_tmp" alt="" coords="661,1037,781,1067"/><area shape="rect" id="node88" href="make_8utilities_8inc.html#abc341fc62b92a8eef00bf92aa24a90df" title="make_md5" alt="" coords="679,984,764,1013"/><area shape="rect" id="node98" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="668,1197,775,1227"/><area shape="rect" id="node71" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1148,1381,1313,1411"/><area shape="rect" id="node84" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="905,1011,1068,1040"/><area shape="rect" id="node96" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="940,1224,1033,1253"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaac7379e8cfa2163a874542fc021bf521"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_move_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$overwrite</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Move $src to $dest.</p>
<p>If the php 'rename' function doesn't work, then we'll do copy &amp; delete.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$src</td><td>The directory to move. </td></tr>
    <tr><td class="paramname">$dest</td><td>The destination to move the source to, including the new name of the directory. To move directory "a" from "/b" to "/c", then $src = "/b/a" and $dest = "/c/a". To move "a" to "/c" and rename it to "d", then $dest = "/c/d" (just like php rename function). </td></tr>
    <tr><td class="paramname">$overwrite</td><td>If TRUE, the destination will be deleted if it exists. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE on success, FALSE on failure. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00302">302</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00215">drush_copy_dir()</a>, <a class="el" href="drush_8inc_source.html#l00659">drush_op()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="drush_8inc_source.html#l00801">_drush_download_file()</a>, <a class="el" href="sync__via__http_8drush_8inc_source.html#l00089">_drush_sync_via_http_download_file()</a>, <a class="el" href="make_8download_8inc_source.html#l00162">_make_download_file_move()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00220">_pm_update_move_files()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00310">drush_archive_restore()</a>, <a class="el" href="make_8download_8inc_source.html#l00110">make_download_file_unpack()</a>, <a class="el" href="make_8drush_8inc_source.html#l00584">make_move_build()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00417">make_tar()</a>, <a class="el" href="wget_8inc_source.html#l00038">package_handler_download_project()</a>, <a class="el" href="backup_8inc_source.html#l00013">drush_version_control_backup\pre_update()</a>, and <a class="el" href="backup_8inc_source.html#l00043">drush_version_control_backup\rollback()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_cgraph.png" border="0" usemap="#group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_cgraph" id="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09" title="drush_copy_dir" alt="" coords="169,185,279,215"/><area shape="rect" id="node12" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="347,133,421,163"/><area shape="rect" id="node18" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="561,21,599,51"/><area shape="rect" id="node27" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="328,247,440,276"/><area shape="rect" id="node5" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="541,195,619,224"/><area shape="rect" id="node7" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="721,299,876,328"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1153,195,1281,224"/><area shape="rect" id="node14" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="508,125,652,171"/><area shape="rect" id="node20" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="732,5,865,51"/><area shape="rect" id="node22" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="927,17,1071,47"/><area shape="rect" id="node24" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1120,17,1315,47"/><area shape="rect" id="node30" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="489,299,671,328"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_icgraph.png" border="0" usemap="#group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_icgraph" id="group__filesystemfunctions_gaac7379e8cfa2163a874542fc021bf521_icgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="188,356,335,385"/><area shape="rect" id="node41" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="617,522,799,569"/><area shape="rect" id="node84" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="187,409,336,455"/><area shape="rect" id="node88" href="make_8download_8inc.html#a74fc37b0ad8db7422b33cbadbe302325" title="_make_download_file_move" alt="" coords="168,479,355,508"/><area shape="rect" id="node90" href="updatecode_8pm_8inc.html#ab11eea54f55781b92561a28a8e39f224" title="_pm_update_move_files" alt="" coords="180,73,343,103"/><area shape="rect" id="node95" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="191,583,332,612"/><area shape="rect" id="node97" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="187,636,336,665"/><area shape="rect" id="node99" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="416,683,555,730"/><area shape="rect" id="node102" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="199,740,324,769"/><area shape="rect" id="node106" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="224,793,299,823"/><area shape="rect" id="node110" href="classdrush__version__control__backup.html#aa6d4b12d4fe6e525ca364a57cbf769f8" title="drush_version_control\l_backup\\pre_update" alt="" coords="187,846,336,893"/><area shape="rect" id="node112" href="classdrush__version__control__backup.html#a0957924f0360e2afa4133063a514e22f" title="drush_version_control\l_backup\\rollback" alt="" coords="187,915,336,962"/><area shape="rect" id="node5" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="416,356,555,385"/><area shape="rect" id="node7" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="635,469,781,499"/><area shape="rect" id="node35" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="616,256,800,285"/><area shape="rect" id="node37" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="640,387,776,416"/><area shape="rect" id="node43" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="1087,247,1209,294"/><area shape="rect" id="node56" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="631,186,785,233"/><area shape="rect" id="node9" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="1504,600,1717,629"/><area shape="rect" id="node13" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="1500,653,1721,683"/><area shape="rect" id="node16" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="865,703,1004,732"/><area shape="rect" id="node20" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="880,468,989,497"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1772,600,1937,629"/><area shape="rect" id="node18" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="1077,703,1219,732"/><area shape="rect" id="node22" href="make_8utilities_8inc.html#ac0c5ebc3f3671b4fe5723088000791fa" title="make_parse_info_file" alt="" coords="1076,456,1220,485"/><area shape="rect" id="node24" href="make_8utilities_8inc.html#acb37b7739b2d486d1920a413676c42bf" title="_make_parse_info_file" alt="" coords="1287,444,1439,473"/><area shape="rect" id="node28" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="1539,375,1683,422"/><area shape="rect" id="node32" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="1523,547,1699,576"/><area shape="rect" id="node26" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1808,444,1901,473"/><area shape="rect" id="node39" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="872,413,997,443"/><area shape="rect" id="node45" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1300,76,1425,105"/><area shape="rect" id="node49" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1292,289,1433,319"/><area shape="rect" id="node51" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1283,236,1443,265"/><area shape="rect" id="node53" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1288,183,1437,212"/><area shape="rect" id="node47" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1535,129,1687,159"/><area shape="rect" id="node58" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="868,125,1001,171"/><area shape="rect" id="node75" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="871,360,999,389"/><area shape="rect" id="node79" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="848,195,1021,224"/><area shape="rect" id="node60" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="1069,125,1227,171"/><area shape="rect" id="node64" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="1072,5,1224,51"/><area shape="rect" id="node68" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="1069,368,1227,397"/><area shape="rect" id="node62" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="1288,129,1437,159"/><area shape="rect" id="node66" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="1275,13,1451,43"/><area shape="rect" id="node71" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1309,497,1416,527"/><area shape="rect" id="node81" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="1081,195,1215,224"/><area shape="rect" id="node86" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="415,409,556,455"/><area shape="rect" id="node93" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="409,5,561,51"/><area shape="rect" id="node104" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="404,768,567,797"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga4126321d45e8a9c454048869dd42a27c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_normalize_path </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Makes sure the path has only path separators native for the current operating system </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00083">83</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>, and <a class="el" href="filesystem_8inc_source.html#l00071">drush_trim_path()</a>.</p>

<p>Referenced by <a class="el" href="notify_8drush_8inc_source.html#l00127">drush_notify_send_text()</a>, and <a class="el" href="sitealias_8inc_source.html#l00325">drush_sitealias_add_to_alias_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_cgraph" id="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="367,5,495,35"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga5a78fe09f2e16740db898df3237da602" title="drush_trim_path" alt="" coords="203,31,317,60"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_icgraph" id="group__filesystemfunctions_ga4126321d45e8a9c454048869dd42a27c_icgraph">
<area shape="rect" id="node3" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="203,173,360,203"/><area shape="rect" id="node13" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="213,275,349,322"/><area shape="rect" id="node5" href="notify_8drush_8inc.html#a019c8116bcc63e1577cf6b5dec3ec24e" title="drush_notify_send" alt="" coords="432,97,560,127"/><area shape="rect" id="node7" href="notify_8drush_8inc.html#af572d593a2ac7c62058eccf211751d45" title="drush_notify_shutdown\l_error" alt="" coords="635,58,789,105"/><area shape="rect" id="node9" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="641,128,783,157"/><area shape="rect" id="node11" href="notify_8drush_8inc.html#aa3b05a4a16083977b8616c2404a045fc" title="notify_drush_exit" alt="" coords="652,5,772,35"/><area shape="rect" id="node15" href="sitealias_8inc.html#a3ddde4d59f4c8fc6b7c415a152ac57ed" title="_drush_find_local_sites\l_in_sites_folder" alt="" coords="417,275,575,322"/><area shape="rect" id="node29" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="633,181,791,227"/><area shape="rect" id="node66" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="425,765,567,811"/><area shape="rect" id="node108" href="sitealias_8inc.html#aa052aebdf8f0c0037fb910f8d59577b0" title="drush_sitealias_alias_path" alt="" coords="409,1089,583,1119"/><area shape="rect" id="node17" href="sitealias_8inc.html#a140c677ea9e7c406a24ad323fd6b4af4" title="_drush_find_local_sites\l_at_root" alt="" coords="633,275,791,322"/><area shape="rect" id="node19" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="869,275,1013,322"/><area shape="rect" id="node21" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1105,446,1276,493"/><area shape="rect" id="node23" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="1347,446,1496,493"/><area shape="rect" id="node25" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="1560,423,1720,452"/><area shape="rect" id="node27" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="1796,423,1956,452"/><area shape="rect" id="node31" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="1349,310,1493,357"/><area shape="rect" id="node34" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1351,155,1492,202"/><area shape="rect" id="node42" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1823,104,1929,133"/><area shape="rect" id="node55" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="865,155,1017,202"/><area shape="rect" id="node36" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1552,267,1728,296"/><area shape="rect" id="node52" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1559,160,1721,189"/><area shape="rect" id="node38" href="complete_8inc.html#a9249f2a38d16e008506147243482b39c" title="drush_complete_process_argv" alt="" coords="1777,337,1975,367"/><area shape="rect" id="node40" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="2049,353,2199,383"/><area shape="rect" id="node44" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="2080,97,2168,127"/><area shape="rect" id="node46" href="classUnish_1_1commandUnitCase.html#a298d93d64bbbab6ba8a1906cab4f860a" title="Unish\\commandUnitCase\l\\testCommandVersionSpecific" alt="" coords="2025,150,2223,197"/><area shape="rect" id="node48" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="2039,219,2209,266"/><area shape="rect" id="node50" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="2028,27,2220,74"/><area shape="rect" id="node57" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1092,209,1289,239"/><area shape="rect" id="node61" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1109,156,1272,185"/><area shape="rect" id="node59" href="lib_2Drush_2Boot_2bootstrap_8inc.html#a8ac28019edc55f370b36c707cc2eb1d0" title="_drush_bootstrap_drupal\l_site_validate" alt="" coords="1340,225,1503,271"/><area shape="rect" id="node68" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="645,765,779,811"/><area shape="rect" id="node72" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="841,1241,1041,1271"/><area shape="rect" id="node74" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1092,1128,1289,1157"/><area shape="rect" id="node77" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="864,1118,1019,1165"/><area shape="rect" id="node79" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="865,1188,1017,1217"/><area shape="rect" id="node81" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1121,953,1260,983"/><area shape="rect" id="node84" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="857,497,1025,543"/><area shape="rect" id="node86" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1555,213,1725,243"/><area shape="rect" id="node89" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="847,566,1036,613"/><area shape="rect" id="node93" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="876,635,1007,682"/><area shape="rect" id="node95" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="879,705,1004,751"/><area shape="rect" id="node97" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="863,825,1020,871"/><area shape="rect" id="node101" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1112,794,1269,841"/><area shape="rect" id="node104" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="872,895,1011,924"/><area shape="rect" id="node106" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="873,947,1009,994"/><area shape="rect" id="node110" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="640,1335,784,1382"/><area shape="rect" id="node112" href="sitealias_8inc.html#a342a408e79400ac5ea8ee8023723cccf" title="_drush_sitealias_find\l_and_load_alias" alt="" coords="869,1395,1013,1442"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gaa69fcbb2b3c7a50c42f8fb10b4067364"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_preflight_backup_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$subdir</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Decide where our backup directory should go</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$subdir</td><td>The name of the desired subdirectory(s) under drush-backups. Usually a database name. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00555">555</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00649">drush_server_home()</a>, <a class="el" href="context_8inc_source.html#l00293">drush_set_context()</a>, <a class="el" href="sql_8drush_8inc_source.html#l00642">drush_sql_get_class()</a>, and <a class="el" href="filesystem_8inc_source.html#l00071">drush_trim_path()</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00582">drush_prepare_backup_dir()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_cgraph.png" border="0" usemap="#group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_cgraph" id="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1057,143,1185,172"/><area shape="rect" id="node5" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="441,159,561,188"/><area shape="rect" id="node12" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="235,116,371,146"/><area shape="rect" id="node14" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="839,12,967,42"/><area shape="rect" id="node17" href="sql_8drush_8inc.html#a828cf565e2e7e569e41c3fbe8a8e0cf0" title="drush_sql_get_class" alt="" coords="232,220,373,250"/><area shape="rect" id="node31" href="group__filesystemfunctions.html#ga5a78fe09f2e16740db898df3237da602" title="drush_trim_path" alt="" coords="245,304,360,334"/><area shape="rect" id="node7" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="641,116,769,146"/><area shape="rect" id="node9" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="631,170,780,199"/><area shape="rect" id="node19" href="sitealias_8inc.html#a3e5b4e0099b3cf7ad4ec47fac20e4e54" title="drush_convert_db_from\l_db_url" alt="" coords="423,212,580,258"/><area shape="rect" id="node21" href="drush_8inc.html#ac0c5cc8dc02832fb068ca98efd0712c4" title="drush_get_class" alt="" coords="443,282,560,311"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="639,273,772,320"/><area shape="rect" id="node25" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="831,274,975,303"/><area shape="rect" id="node27" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1024,274,1219,303"/><area shape="rect" id="node33" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="437,335,565,364"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_icgraph.png" border="0" usemap="#group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_icgraph" id="group__filesystemfunctions_gaa69fcbb2b3c7a50c42f8fb10b4067364_icgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga8b411cc66e895a6ea8a50c5560b15684" title="drush_prepare_backup_dir" alt="" coords="233,5,407,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga8b411cc66e895a6ea8a50c5560b15684"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_prepare_backup_dir </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$subdir</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Prepare a backup directory </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00582">582</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="filesystem_8inc_source.html#l00355">drush_mkdir()</a>, <a class="el" href="filesystem_8inc_source.html#l00555">drush_preflight_backup_dir()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga8b411cc66e895a6ea8a50c5560b15684_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga8b411cc66e895a6ea8a50c5560b15684_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga8b411cc66e895a6ea8a50c5560b15684_cgraph" id="group__filesystemfunctions_ga8b411cc66e895a6ea8a50c5560b15684_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1324,201,1452,231"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="480,171,573,200"/><area shape="rect" id="node7" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="669,136,781,165"/><area shape="rect" id="node19" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="707,213,744,243"/><area shape="rect" id="node28" href="group__filesystemfunctions.html#gaa69fcbb2b3c7a50c42f8fb10b4067364" title="drush_preflight_backup_dir" alt="" coords="231,440,407,469"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1087,144,1241,173"/><area shape="rect" id="node12" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="855,197,1036,227"/><area shape="rect" id="node15" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="907,144,984,173"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="879,250,1012,297"/><area shape="rect" id="node23" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1092,256,1236,285"/><area shape="rect" id="node25" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1291,256,1485,285"/><area shape="rect" id="node31" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="665,440,785,469"/><area shape="rect" id="node38" href="includes_2environment_8inc.html#afae6d4a5a12623e5502ca262346c799b" title="drush_server_home" alt="" coords="459,579,595,608"/><area shape="rect" id="node40" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1100,473,1228,503"/><area shape="rect" id="node43" href="sql_8drush_8inc.html#a828cf565e2e7e569e41c3fbe8a8e0cf0" title="drush_sql_get_class" alt="" coords="456,384,597,413"/><area shape="rect" id="node51" href="group__filesystemfunctions.html#ga5a78fe09f2e16740db898df3237da602" title="drush_trim_path" alt="" coords="469,632,584,661"/><area shape="rect" id="node33" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="881,421,1009,451"/><area shape="rect" id="node35" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="871,475,1020,504"/><area shape="rect" id="node45" href="sitealias_8inc.html#a3e5b4e0099b3cf7ad4ec47fac20e4e54" title="drush_convert_db_from\l_db_url" alt="" coords="647,370,804,417"/><area shape="rect" id="node47" href="drush_8inc.html#ac0c5cc8dc02832fb068ca98efd0712c4" title="drush_get_class" alt="" coords="667,267,784,296"/><area shape="rect" id="node53" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="661,632,789,661"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga7557e035207db8d2dbe475e6a52c579c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_register_file_for_deletion </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$file</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Any file passed in to this function will be deleted when drush exits. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00513">513</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00529">_drush_delete_registered_files()</a>, <a class="el" href="drush_8inc_source.html#l00721">drush_download_file()</a>, <a class="el" href="filesystem_8inc_source.html#l00422">drush_find_tmp()</a>, <a class="el" href="filesystem_8inc_source.html#l00499">drush_tempdir()</a>, <a class="el" href="filesystem_8inc_source.html#l00485">drush_tempnam()</a>, <a class="el" href="xkcd_8drush_8inc_source.html#l00146">drush_xkcd_display()</a>, and <a class="el" href="make_8utilities_8inc_source.html#l00353">make_tmp()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga7557e035207db8d2dbe475e6a52c579c_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga7557e035207db8d2dbe475e6a52c579c_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga7557e035207db8d2dbe475e6a52c579c_icgraph" id="group__filesystemfunctions_ga7557e035207db8d2dbe475e6a52c579c_icgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga6ee4f2d02364120bb883cfdf8cd2cfab" title="_drush_delete_registered\l_files" alt="" coords="183,5,348,51"/><area shape="rect" id="node7" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="868,375,1007,404"/><area shape="rect" id="node21" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="1088,73,1224,103"/><area shape="rect" id="node50" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="211,783,320,812"/><area shape="rect" id="node56" href="group__filesystemfunctions.html#ga883d28ed54603b2d268902cec2379804" title="drush_tempdir" alt="" coords="423,783,527,812"/><area shape="rect" id="node73" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="417,369,532,399"/><area shape="rect" id="node97" href="make_8utilities_8inc.html#ab3c72a6d8be958f40fc0cbcca29a183b" title="make_tmp" alt="" coords="433,1149,516,1179"/><area shape="rect" id="node5" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="401,13,548,43"/><area shape="rect" id="node9" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="1083,683,1229,712"/><area shape="rect" id="node19" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="1064,417,1248,447"/><area shape="rect" id="node25" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="1065,525,1247,571"/><area shape="rect" id="node27" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="1571,226,1693,273"/><area shape="rect" id="node40" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="1079,230,1233,277"/><area shape="rect" id="node11" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="1301,656,1515,685"/><area shape="rect" id="node13" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="1297,709,1519,739"/><area shape="rect" id="node15" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="1339,763,1477,792"/><area shape="rect" id="node17" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="1353,603,1463,632"/><area shape="rect" id="node23" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="1345,73,1471,103"/><area shape="rect" id="node29" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1761,208,1887,237"/><area shape="rect" id="node33" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1753,400,1895,429"/><area shape="rect" id="node35" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1744,261,1904,291"/><area shape="rect" id="node37" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1749,155,1899,184"/><area shape="rect" id="node31" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1953,155,2105,184"/><area shape="rect" id="node42" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="1341,230,1475,277"/><area shape="rect" id="node44" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="1568,400,1696,429"/><area shape="rect" id="node47" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="1321,177,1495,207"/><area shape="rect" id="node52" href="includes_2environment_8inc.html#a92afdf9afda25ac6d226ba45f6f1fbe0" title="drush_directory_cache" alt="" coords="399,887,551,916"/><area shape="rect" id="node54" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="637,939,773,968"/><area shape="rect" id="node58" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="635,627,776,656"/><area shape="rect" id="node60" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="863,661,1012,691"/><area shape="rect" id="node62" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="636,680,775,709"/><area shape="rect" id="node64" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="644,835,767,864"/><area shape="rect" id="node66" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="868,754,1007,801"/><area shape="rect" id="node70" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="635,992,776,1021"/><area shape="rect" id="node75" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="859,440,1016,469"/><area shape="rect" id="node80" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="631,330,780,377"/><area shape="rect" id="node82" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="632,400,779,429"/><area shape="rect" id="node85" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="635,573,776,603"/><area shape="rect" id="node91" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d" title="drush_save_data_to\l_temp_file" alt="" coords="636,503,775,550"/><area shape="rect" id="node93" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="651,277,760,307"/><area shape="rect" id="node100" href="make_8drush_8inc.html#ad9b2f2e15282d634a58229f30d819bde" title="drush_make_process" alt="" coords="632,1256,779,1285"/><area shape="rect" id="node102" href="classDrushMakeProject.html#a825d48df1bdb0d0d0e46992e175909af" title="DrushMakeProject\\generatePath" alt="" coords="600,1309,811,1339"/><area shape="rect" id="node104" href="make_8utilities_8inc.html#ae13ed28f360182a4df0620a68d251fd6" title="make_clean_tmp" alt="" coords="645,1363,765,1392"/><area shape="rect" id="node108" href="make_8utilities_8inc.html#abc341fc62b92a8eef00bf92aa24a90df" title="make_md5" alt="" coords="663,1416,748,1445"/><area shape="rect" id="node110" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="643,1469,768,1499"/><area shape="rect" id="node112" href="make_8utilities_8inc.html#a7ac27f598c36208652191f40f08c2332" title="make_prepare_install" alt="" coords="633,1096,777,1125"/><area shape="rect" id="node114" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="652,1149,759,1179"/><area shape="rect" id="node116" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="668,1203,743,1232"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gadb66635fa63012fb084f8e96a392776d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_save_data_to_temp_file </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$suffix</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Save a string to a temporary file. Does not depend on Drupal's API. The temporary file will be automatically deleted when drush exits.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$data</td><td></td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$suffix</td><td>Append string to filename. use of this parameter if is discouraged. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09">drush_tempnam()</a>. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>string A path to the file. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00401">401</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00485">drush_tempnam()</a>.</p>

<p>Referenced by <a class="el" href="Sqlmysql_8php_source.html#l00011">Drush\Sql\Sqlmysql\creds()</a>, <a class="el" href="engines_8inc_source.html#l00326">drush_engine_topic_command()</a>, and <a class="el" href="SqlBase_8php_source.html#l00149">Drush\Sql\SqlBase\query()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_cgraph.png" border="0" usemap="#group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_cgraph" id="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="192,261,307,290"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="356,219,465,249"/><area shape="rect" id="node39" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="516,323,644,369"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="903,31,988,61"/><area shape="rect" id="node14" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="516,115,644,145"/><area shape="rect" id="node16" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="533,219,627,249"/><area shape="rect" id="node18" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="693,174,805,203"/><area shape="rect" id="node30" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="731,271,768,301"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1324,110,1452,139"/><area shape="rect" id="node11" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1100,31,1228,61"/><area shape="rect" id="node20" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1087,135,1241,165"/><area shape="rect" id="node23" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="855,186,1036,215"/><area shape="rect" id="node26" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="907,239,984,269"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="879,292,1012,339"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1092,285,1236,314"/><area shape="rect" id="node36" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1291,285,1485,314"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_icgraph.png" border="0" usemap="#group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_icgraph" id="group__filesystemfunctions_gadb66635fa63012fb084f8e96a392776d_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Sql_1_1Sqlmysql.html#adae34282f0fc42e0b854c98dc61a1795" title="Drush\\Sql\\Sqlmysql\l\\creds" alt="" coords="208,5,347,51"/><area shape="rect" id="node5" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="211,74,344,121"/><area shape="rect" id="node7" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="193,144,361,173"/><area shape="rect" id="node9" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="411,13,597,43"/><area shape="rect" id="node13" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="435,66,573,113"/><area shape="rect" id="node15" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="437,135,571,182"/><area shape="rect" id="node17" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="437,205,571,251"/><area shape="rect" id="node19" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="435,274,573,321"/><area shape="rect" id="node11" href="classDrush_1_1Sql_1_1SqlBase.html#a68828a0633827f0dde26a869e4b89e86" title="Drush\\Sql\\SqlBase\\drop\l_or_create" alt="" coords="645,5,808,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga1c545390a8890f6ea47385f79fbe2e82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_scan_directory </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$nomask</em> = <code>array('.',&#160;'..',&#160;'CVS')</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$callback</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$recurse_max_depth</em> = <code>TRUE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$key</em> = <code>'filename'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$min_depth</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$include_dot_files</em> = <code>FALSE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$depth</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Finds all files that match a given mask in a given directory. Directories and files beginning with a period are excluded; this prevents hidden files and directories (such as SVN working directories and GIT repositories) from being scanned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$dir</td><td>The base directory for the scan, without trailing slash. </td></tr>
    <tr><td class="paramname">$mask</td><td>The regular expression of the files to find. </td></tr>
    <tr><td class="paramname">$nomask</td><td>An array of files/directories to ignore. </td></tr>
    <tr><td class="paramname">$callback</td><td>The callback function to call for each match. </td></tr>
    <tr><td class="paramname">$recurse_max_depth</td><td>When TRUE, the directory scan will recurse the entire tree starting at the provided directory. When FALSE, only files in the provided directory are returned. Integer values limit the depth of the traversal, with zero being treated identically to FALSE, and 1 limiting the traversal to the provided directory and its immediate children only, and so on. </td></tr>
    <tr><td class="paramname">$key</td><td>The key to be used for the returned array of files. Possible values are "filename", for the path starting with $dir, "basename", for the basename of the file, and "name" for the name of the file without an extension. </td></tr>
    <tr><td class="paramname">$min_depth</td><td>Minimum depth of directories to return files from. </td></tr>
    <tr><td class="paramname">$include_dot_files</td><td>If TRUE, files that begin with a '.' will be returned if they match the provided mask. If FALSE, files that begin with a '.' will not be returned, even if they match the provided mask. </td></tr>
    <tr><td class="paramname">$depth</td><td>Current depth of recursion. This parameter is only used internally and should not be passed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An associative array (keyed on the provided key) of objects with "path", "basename", and "name" members corresponding to the matching files. </dd></dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00661">661</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l00659">drush_op()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8inc_source.html#l01344">_drush_find_local_sites_at_root()</a>, <a class="el" href="sitealias_8inc_source.html#l01370">_drush_find_local_sites_in_sites_folder()</a>, <a class="el" href="sitealias_8inc_source.html#l00567">_drush_sitealias_find_alias_files()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00105">_drush_sitealias_site_list()</a>, <a class="el" href="make_8download_8inc_source.html#l00162">_make_download_file_move()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00123">_pm_update_core()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00220">_pm_update_move_files()</a>, <a class="el" href="FileCache_8php_source.html#l00111">Drush\Cache\FileCache\clear()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00439">drush_archive_guess_manifest()</a>, <a class="el" href="core_8drush_8inc_source.html#l00998">drush_core_php_script()</a>, <a class="el" href="filesystem_8inc_source.html#l00096">drush_dir_md5()</a>, <a class="el" href="docs_8drush_8inc_source.html#l00201">drush_docs_errorcodes()</a>, <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01671">drush_pm_extensions_in_project()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01810">drush_pm_inject_info_file_metadata()</a>, <a class="el" href="make_8project_8inc_source.html#l00407">DrushMakeProject\getTranslations()</a>, <a class="el" href="FileCache_8php_source.html#l00139">Drush\Cache\FileCache\isEmpty()</a>, <a class="el" href="make_8drush_8inc_source.html#l00584">make_move_build()</a>, <a class="el" href="download_8pm_8inc_source.html#l00254">pm_drush_pm_download_destination_alter()</a>, and <a class="el" href="updatecode_8pm_8inc_source.html#l00328">pm_update_project()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_cgraph" id="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_cgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="200,100,275,129"/><area shape="rect" id="node5" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="324,5,468,51"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="940,151,1068,180"/><area shape="rect" id="node9" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="547,125,624,155"/><area shape="rect" id="node15" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="377,203,415,232"/><area shape="rect" id="node11" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="703,176,857,205"/><area shape="rect" id="node17" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="519,207,652,254"/><area shape="rect" id="node19" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="708,229,852,259"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="907,229,1101,259"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_icgraph" id="group__filesystemfunctions_ga1c545390a8890f6ea47385f79fbe2e82_icgraph">
<area shape="rect" id="node3" href="sitealias_8inc.html#a140c677ea9e7c406a24ad323fd6b4af4" title="_drush_find_local_sites\l_at_root" alt="" coords="468,42,625,89"/><area shape="rect" id="node38" href="sitealias_8inc.html#a3ddde4d59f4c8fc6b7c415a152ac57ed" title="_drush_find_local_sites\l_in_sites_folder" alt="" coords="215,98,372,145"/><area shape="rect" id="node41" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="221,167,365,214"/><area shape="rect" id="node46" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="924,236,1092,265"/><area shape="rect" id="node49" href="make_8download_8inc.html#a74fc37b0ad8db7422b33cbadbe302325" title="_make_download_file_move" alt="" coords="200,288,387,317"/><area shape="rect" id="node51" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="484,497,609,527"/><area shape="rect" id="node55" href="updatecode_8pm_8inc.html#ab11eea54f55781b92561a28a8e39f224" title="_pm_update_move_files" alt="" coords="212,411,375,440"/><area shape="rect" id="node60" href="classDrush_1_1Cache_1_1FileCache.html#a44a013d5f478004d9899ebc189bb89d3" title="Drush\\Cache\\FileCache\l\\clear" alt="" coords="212,463,375,510"/><area shape="rect" id="node62" href="archive_8drush_8inc.html#a51085ff955b6905e494c7da6cd84e028" title="drush_archive_guess\l_manifest" alt="" coords="221,341,365,387"/><area shape="rect" id="node66" href="core_8drush_8inc.html#a318e7d1eefff92580b72fca9d6623939" title="drush_core_php_script" alt="" coords="217,584,369,613"/><area shape="rect" id="node68" href="group__filesystemfunctions.html#ga0f53b7283625a345a693516b6d70ce00" title="drush_dir_md5" alt="" coords="240,744,347,773"/><area shape="rect" id="node78" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="215,691,372,720"/><area shape="rect" id="node80" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="720,908,861,937"/><area shape="rect" id="node82" href="pm_8drush_8inc.html#acf732982c7f481e1bfc50db3bd269de9" title="drush_pm_extensions\l_in_project" alt="" coords="472,899,621,946"/><area shape="rect" id="node85" href="pm_8drush_8inc.html#ae5c95f9279eaddddd401970d1065c023" title="drush_pm_inject_info\l_file_metadata" alt="" coords="221,1018,365,1065"/><area shape="rect" id="node94" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="436,1149,657,1179"/><area shape="rect" id="node97" href="classDrush_1_1Cache_1_1FileCache.html#a86ab9c0ba83028da4596360f93eeebc8" title="Drush\\Cache\\FileCache\l\\isEmpty" alt="" coords="212,949,375,995"/><area shape="rect" id="node99" href="make_8drush_8inc.html#ae5eb2a2403d96afcef3d5f85ee7ae284" title="make_move_build" alt="" coords="484,796,609,825"/><area shape="rect" id="node102" href="download_8pm_8inc.html#ab35a163fb97c0a4e0668f0e2b7c78559" title="pm_drush_pm_download\l_destination_alter" alt="" coords="211,1087,376,1134"/><area shape="rect" id="node104" href="updatecode_8pm_8inc.html#a5a3737ff6d07b1666960729bf8e2d684" title="pm_update_project" alt="" coords="228,637,359,667"/><area shape="rect" id="node5" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="719,50,863,97"/><area shape="rect" id="node7" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="923,54,1093,101"/><area shape="rect" id="node9" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="1141,141,1291,187"/><area shape="rect" id="node11" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="1339,184,1499,213"/><area shape="rect" id="node33" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1341,114,1496,161"/><area shape="rect" id="node13" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="1547,197,1707,227"/><area shape="rect" id="node15" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="1771,5,1917,51"/><area shape="rect" id="node19" href="archive_8drush_8inc.html#a49945bfa5c147d67734c75e001faeeb8" title="archive_archive_dump\l_complete" alt="" coords="1768,74,1920,121"/><area shape="rect" id="node21" href="core_8drush_8inc.html#a2a2d7804784871fbbc8b14699d17b79c" title="core_core_rsync_complete" alt="" coords="1755,144,1933,173"/><area shape="rect" id="node23" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="1765,197,1923,227"/><area shape="rect" id="node27" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda" title="sitealias_site_alias\l_complete" alt="" coords="1779,250,1909,297"/><area shape="rect" id="node29" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651" title="sitealias_site_set\l_complete" alt="" coords="1783,319,1905,366"/><area shape="rect" id="node31" href="sql_8drush_8inc.html#a6c0438aa3afaa78282707b5165e386e4" title="sql_sql_sync_complete" alt="" coords="1765,389,1923,419"/><area shape="rect" id="node17" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="1981,13,2123,43"/><area shape="rect" id="node25" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="1983,197,2121,227"/><area shape="rect" id="node35" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1560,102,1693,149"/><area shape="rect" id="node43" href="sitealias_8inc.html#a342a408e79400ac5ea8ee8023723cccf" title="_drush_sitealias_find\l_and_load_alias" alt="" coords="475,111,619,158"/><area shape="rect" id="node53" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="715,524,867,553"/><area shape="rect" id="node58" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="471,402,623,449"/><area shape="rect" id="node64" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="472,349,621,379"/><area shape="rect" id="node70" href="make_8utilities_8inc.html#abc341fc62b92a8eef00bf92aa24a90df" title="make_md5" alt="" coords="504,743,589,772"/><area shape="rect" id="node74" href="classUnish_1_1archiveDumpCase.html#a762a3d51f4c1f7a7cd6e890d8692edd1" title="Unish\\archiveDumpCase\l\\testArchiveRestore" alt="" coords="463,603,631,650"/><area shape="rect" id="node76" href="classUnish_1_1archiveDumpCase.html#a06c092b80b6ee1a4203d3f948ec90118" title="Unish\\archiveDumpCase\l\\testArchiveRestoreNoCore" alt="" coords="456,673,637,719"/><area shape="rect" id="node72" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="709,769,872,799"/><area shape="rect" id="node87" href="git__drupalorg_8inc.html#a24cb40954a8234867336586a498d76b2" title="package_handler_post\l_download" alt="" coords="471,974,623,1021"/><area shape="rect" id="node90" href="classDrushMakeProject.html#ae64371ebab222251d13f492bb1bf7549" title="DrushMakeProject\\process\lGitInfoFiles" alt="" coords="457,1055,636,1102"/><area shape="rect" id="node92" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="708,1107,873,1136"/><area shape="rect" id="node107" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="472,551,621,580"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga883d28ed54603b2d268902cec2379804"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_tempdir </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a temporary directory and return its path. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00499">499</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00422">drush_find_tmp()</a>, <a class="el" href="filesystem_8inc_source.html#l00355">drush_mkdir()</a>, <a class="el" href="filesystem_8inc_source.html#l00513">drush_register_file_for_deletion()</a>, and <a class="el" href="filesystem_8inc_source.html#l00071">drush_trim_path()</a>.</p>

<p>Referenced by <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00310">drush_archive_restore()</a>, <a class="el" href="config_8drush_8inc_source.html#l00403">drush_config_edit()</a>, <a class="el" href="config_8drush_8inc_source.html#l00322">drush_config_import()</a>, <a class="el" href="download_8pm_8inc_source.html#l00082">drush_pm_download()</a>, <a class="el" href="make_8download_8inc_source.html#l00349">make_download_bzr()</a>, <a class="el" href="make_8download_8inc_source.html#l00110">make_download_file_unpack()</a>, and <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_cgraph" id="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="160,163,269,192"/><area shape="rect" id="node14" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="339,215,432,244"/><area shape="rect" id="node37" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="321,267,449,314"/><area shape="rect" id="node43" href="group__filesystemfunctions.html#ga5a78fe09f2e16740db898df3237da602" title="drush_trim_path" alt="" coords="157,60,272,89"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="708,5,793,35"/><area shape="rect" id="node12" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="321,9,449,39"/><area shape="rect" id="node16" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="499,137,611,167"/><area shape="rect" id="node28" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="536,215,573,244"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1129,136,1257,165"/><area shape="rect" id="node9" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="905,59,1033,88"/><area shape="rect" id="node18" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="892,213,1047,243"/><area shape="rect" id="node21" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="660,59,841,88"/><area shape="rect" id="node24" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="712,163,789,192"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="684,266,817,313"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="897,271,1041,300"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1096,271,1291,300"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_icgraph" id="group__filesystemfunctions_ga883d28ed54603b2d268902cec2379804_icgraph">
<area shape="rect" id="node3" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="163,5,304,35"/><area shape="rect" id="node5" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="159,59,308,88"/><area shape="rect" id="node7" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="172,112,295,141"/><area shape="rect" id="node9" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="164,165,303,195"/><area shape="rect" id="node11" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="163,219,304,248"/><area shape="rect" id="node13" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="163,272,304,301"/><area shape="rect" id="node15" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="164,325,303,371"/><area shape="rect" id="node21" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="165,395,301,424"/><area shape="rect" id="node17" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="359,333,497,363"/><area shape="rect" id="node19" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="547,333,688,363"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga01729c5c432a2f30974966d888146d09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_tempnam </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$tmp_dir</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$suffix</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a temporary file, and registers it so that it will be deleted when drush exits. Whenever possible, <a class="el" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d">drush_save_data_to_temp_file()</a> should be used instead of this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">string</td><td>suffix Append this suffix to the filename. Use of this parameter is discouraged as it can break the guarantee of tempname(). See <a href="http://www.php.net/manual/en/function.tempnam.php#42052">http://www.php.net/manual/en/function.tempnam.php#42052</a>. Originally added to support Oracle driver. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00485">485</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="filesystem_8inc_source.html#l00422">drush_find_tmp()</a>, and <a class="el" href="filesystem_8inc_source.html#l00513">drush_register_file_for_deletion()</a>.</p>

<p>Referenced by <a class="el" href="drush_8inc_source.html#l00801">_drush_download_file()</a>, <a class="el" href="sync__via__http_8drush_8inc_source.html#l00089">_drush_sync_via_http_download_file()</a>, <a class="el" href="docs_8drush_8inc_source.html#l00201">drush_docs_errorcodes()</a>, <a class="el" href="updatecode_8pm_8inc_source.html#l00017">drush_pm_updatecode()</a>, <a class="el" href="output_8inc_source.html#l00668">drush_print_file()</a>, <a class="el" href="filesystem_8inc_source.html#l00401">drush_save_data_to_temp_file()</a>, <a class="el" href="drush_8inc_source.html#l00958">drush_tarball_extract()</a>, <a class="el" href="updatexml_8inc_source.html#l00154">release_info_print_releasenotes()</a>, and <a class="el" href="updatexml_8inc_source.html#l00467">updatexml_get_release_history_xml()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_cgraph" id="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_cgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="169,219,279,249"/><area shape="rect" id="node37" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="329,323,457,369"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="716,31,801,61"/><area shape="rect" id="node12" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="329,115,457,145"/><area shape="rect" id="node14" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="347,219,440,249"/><area shape="rect" id="node16" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="507,174,619,203"/><area shape="rect" id="node28" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="544,271,581,301"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1137,110,1265,139"/><area shape="rect" id="node9" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="913,31,1041,61"/><area shape="rect" id="node18" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="900,135,1055,165"/><area shape="rect" id="node21" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="668,186,849,215"/><area shape="rect" id="node24" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="720,239,797,269"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="692,292,825,339"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="905,285,1049,314"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1104,285,1299,314"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_icgraph" id="group__filesystemfunctions_ga01729c5c432a2f30974966d888146d09_icgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="169,304,316,333"/><area shape="rect" id="node30" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="1113,634,1236,681"/><area shape="rect" id="node34" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1532,679,1684,708"/><area shape="rect" id="node43" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="600,469,755,515"/><area shape="rect" id="node70" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="168,897,317,943"/><area shape="rect" id="node74" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="372,632,529,661"/><area shape="rect" id="node77" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="188,683,297,712"/><area shape="rect" id="node83" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d" title="drush_save_data_to\l_temp_file" alt="" coords="173,766,312,813"/><area shape="rect" id="node102" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="380,128,521,157"/><area shape="rect" id="node5" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="381,304,520,333"/><area shape="rect" id="node7" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="604,251,751,280"/><area shape="rect" id="node22" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="585,128,769,157"/><area shape="rect" id="node24" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="609,304,745,333"/><area shape="rect" id="node28" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="587,181,768,227"/><area shape="rect" id="node9" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="824,197,1037,227"/><area shape="rect" id="node13" href="classDrushMakeProject.html#af6f9c98d13bb338237d8cc96566e59f8" title="DrushMakeProject\\getTranslations" alt="" coords="820,144,1041,173"/><area shape="rect" id="node16" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="861,52,1000,81"/><area shape="rect" id="node20" href="make_8utilities_8inc.html#aae2ffe8335a86abf135357cfdac212d0" title="make_get_data" alt="" coords="876,251,985,280"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1092,171,1257,200"/><area shape="rect" id="node18" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="1104,52,1245,81"/><area shape="rect" id="node26" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="868,304,993,333"/><area shape="rect" id="node32" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1332,679,1457,708"/><area shape="rect" id="node36" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1324,572,1465,601"/><area shape="rect" id="node38" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="1315,625,1475,655"/><area shape="rect" id="node40" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1320,732,1469,761"/><area shape="rect" id="node45" href="updatexml_8inc.html#a1273e7da7133ada1987f4dde8859aad1" title="release_info_check\l_project" alt="" coords="864,407,997,454"/><area shape="rect" id="node61" href="updatexml_8inc.html#a7fe4c8cdddd122b232c8daf5484444f9" title="release_info_fetch" alt="" coords="867,477,995,507"/><area shape="rect" id="node65" href="updatexml_8inc.html#a40d4c136aadd10580d665514073a3c0b" title="release_info_get_releases" alt="" coords="844,531,1017,560"/><area shape="rect" id="node47" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="1096,407,1253,454"/><area shape="rect" id="node51" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="1099,338,1251,385"/><area shape="rect" id="node55" href="make_8drush_8inc.html#ac8b7447fddc5e9edc48acd98aa680fe5" title="make_prepare_projects" alt="" coords="1096,477,1253,507"/><area shape="rect" id="node49" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="1320,396,1469,425"/><area shape="rect" id="node53" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="1307,343,1483,372"/><area shape="rect" id="node57" href="generate_8contents_8make_8inc.html#ae22e86e5816853f66923925aa90164e1" title="make_generate_from\l_makefile" alt="" coords="1323,502,1467,549"/><area shape="rect" id="node59" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1341,449,1448,479"/><area shape="rect" id="node67" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="1108,581,1241,611"/><area shape="rect" id="node72" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="380,927,521,974"/><area shape="rect" id="node81" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="384,735,517,782"/><area shape="rect" id="node85" href="classDrush_1_1Sql_1_1Sqlmysql.html#adae34282f0fc42e0b854c98dc61a1795" title="Drush\\Sql\\Sqlmysql\l\\creds" alt="" coords="381,858,520,905"/><area shape="rect" id="node88" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="367,805,535,835"/><area shape="rect" id="node90" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="584,805,771,835"/><area shape="rect" id="node94" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="608,858,747,905"/><area shape="rect" id="node96" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="611,927,744,974"/><area shape="rect" id="node98" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="611,997,744,1043"/><area shape="rect" id="node100" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="608,735,747,782"/><area shape="rect" id="node92" href="classDrush_1_1Sql_1_1SqlBase.html#a68828a0633827f0dde26a869e4b89e86" title="Drush\\Sql\\SqlBase\\drop\l_or_create" alt="" coords="849,797,1012,843"/><area shape="rect" id="node104" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="603,75,752,104"/><area shape="rect" id="node107" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="608,5,747,51"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga5a78fe09f2e16740db898df3237da602"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_trim_path </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$os</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove the trailing DIRECTORY_SEPARATOR from a path. Will actually remove either / or \ on Windows. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00071">71</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00083">drush_normalize_path()</a>, <a class="el" href="filesystem_8inc_source.html#l00555">drush_preflight_backup_dir()</a>, <a class="el" href="sitealias_8inc_source.html#l01842">drush_sitealias_evaluate_path()</a>, <a class="el" href="filesystem_8inc_source.html#l00499">drush_tempdir()</a>, and <a class="el" href="wget_8inc_source.html#l00038">package_handler_download_project()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_cgraph.png" border="0" usemap="#group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_cgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_cgraph" id="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="169,5,297,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_icgraph.png" border="0" usemap="#group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_icgraph" alt=""/></div>
<map name="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_icgraph" id="group__filesystemfunctions_ga5a78fe09f2e16740db898df3237da602_icgraph">
<area shape="rect" id="node3" href="group__filesystemfunctions.html#ga4126321d45e8a9c454048869dd42a27c" title="drush_normalize_path" alt="" coords="185,477,335,507"/><area shape="rect" id="node65" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1308,655,1505,684"/><area shape="rect" id="node82" href="group__filesystemfunctions.html#gaa69fcbb2b3c7a50c42f8fb10b4067364" title="drush_preflight_backup_dir" alt="" coords="172,343,348,372"/><area shape="rect" id="node87" href="group__filesystemfunctions.html#ga883d28ed54603b2d268902cec2379804" title="drush_tempdir" alt="" coords="208,839,312,868"/><area shape="rect" id="node108" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="169,891,351,938"/><area shape="rect" id="node5" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="409,280,567,309"/><area shape="rect" id="node15" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="420,469,556,515"/><area shape="rect" id="node7" href="notify_8drush_8inc.html#a019c8116bcc63e1577cf6b5dec3ec24e" title="drush_notify_send" alt="" coords="648,157,776,187"/><area shape="rect" id="node9" href="notify_8drush_8inc.html#af572d593a2ac7c62058eccf211751d45" title="drush_notify_shutdown\l_error" alt="" coords="851,118,1005,165"/><area shape="rect" id="node11" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="857,188,999,217"/><area shape="rect" id="node13" href="notify_8drush_8inc.html#aa3b05a4a16083977b8616c2404a045fc" title="notify_drush_exit" alt="" coords="868,65,988,95"/><area shape="rect" id="node17" href="sitealias_8inc.html#a3ddde4d59f4c8fc6b7c415a152ac57ed" title="_drush_find_local_sites\l_in_sites_folder" alt="" coords="633,503,791,550"/><area shape="rect" id="node25" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="849,241,1007,287"/><area shape="rect" id="node57" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="641,434,783,481"/><area shape="rect" id="node78" href="sitealias_8inc.html#aa052aebdf8f0c0037fb910f8d59577b0" title="drush_sitealias_alias_path" alt="" coords="625,577,799,607"/><area shape="rect" id="node19" href="sitealias_8inc.html#a140c677ea9e7c406a24ad323fd6b4af4" title="_drush_find_local_sites\l_at_root" alt="" coords="849,503,1007,550"/><area shape="rect" id="node21" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="1085,585,1229,631"/><area shape="rect" id="node23" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1321,473,1492,519"/><area shape="rect" id="node27" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="1085,5,1229,51"/><area shape="rect" id="node31" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1560,277,1701,323"/><area shape="rect" id="node35" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1989,200,2096,229"/><area shape="rect" id="node48" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="1081,241,1233,287"/><area shape="rect" id="node29" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="1327,13,1487,43"/><area shape="rect" id="node33" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1760,331,1936,360"/><area shape="rect" id="node45" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1767,277,1929,307"/><area shape="rect" id="node37" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="2200,104,2288,133"/><area shape="rect" id="node39" href="classUnish_1_1commandUnitCase.html#a298d93d64bbbab6ba8a1906cab4f860a" title="Unish\\commandUnitCase\l\\testCommandVersionSpecific" alt="" coords="2145,157,2343,203"/><area shape="rect" id="node41" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="2159,226,2329,273"/><area shape="rect" id="node43" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="2148,295,2340,342"/><area shape="rect" id="node50" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1308,280,1505,309"/><area shape="rect" id="node52" href="preflight_8inc.html#a7b3a0beead72750a7172800793cd509b" title="_drush_preflight_root_uri" alt="" coords="1325,227,1488,256"/><area shape="rect" id="node59" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="861,434,995,481"/><area shape="rect" id="node63" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1057,655,1257,684"/><area shape="rect" id="node72" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1080,465,1235,511"/><area shape="rect" id="node74" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="1081,361,1233,391"/><area shape="rect" id="node67" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="1556,655,1705,684"/><area shape="rect" id="node69" href="core_8drush_8inc.html#af176c288575033228263e7f9fcf406f4" title="drush_core_drupal_directory" alt="" coords="1756,655,1940,684"/><area shape="rect" id="node80" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="856,573,1000,619"/><area shape="rect" id="node84" href="group__filesystemfunctions.html#ga8b411cc66e895a6ea8a50c5560b15684" title="drush_prepare_backup_dir" alt="" coords="401,227,575,256"/><area shape="rect" id="node89" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="417,972,559,1001"/><area shape="rect" id="node91" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="413,1095,563,1124"/><area shape="rect" id="node93" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="427,759,549,788"/><area shape="rect" id="node95" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="419,812,557,841"/><area shape="rect" id="node98" href="make_8download_8inc.html#ac808bd6438397ca205135d0345cf4721" title="make_download_bzr" alt="" coords="417,865,559,895"/><area shape="rect" id="node100" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="419,1025,557,1071"/><area shape="rect" id="node106" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="420,919,556,948"/><area shape="rect" id="node102" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="643,1033,781,1063"/><area shape="rect" id="node104" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="857,1033,999,1063"/></map>
</div>
</p>

</div>
</div>
<h2>Variable Documentation</h2>
<a class="anchor" id="ga0721d1c550493aac709a150081d91d1b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const FILE_EXISTS_ABORT = 0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Behavior for <a class="el" href="group__filesystemfunctions.html#ga1d86ac8e2e56a75acb0abcdc8e0dcf09">drush_copy_dir()</a> and <a class="el" href="group__filesystemfunctions.html#gaac7379e8cfa2163a874542fc021bf521">drush_move_dir()</a> when destinations exist. </p>

<p>Definition at line <a class="el" href="filesystem_8inc_source.html#l00016">16</a> of file <a class="el" href="filesystem_8inc_source.html">filesystem.inc</a>.</p>

<p>Referenced by <a class="el" href="filesystem_8inc_source.html#l00215">drush_copy_dir()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:05:00 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>