25 calls to drush_scan_directory()

annotationcommand_adapter_refine_searchpaths in includes/annotationcommand_adapter.inc
In some circumstances, Drush just does a deep search for any *.drush.inc file, so that it can find all commands, in enabled and disabled modules alike, for the purpose of displaying the help text for that command.
DrushMakeProject::getTranslations in commands/make/make.project.inc
Retrieve translations for this project.
drush_archive_guess_manifest in commands/core/archive.drush.inc
Try to find docroot and DB dump file in an extracted archive.
drush_cache_clear_drush in commands/core/cache.drush.inc
Clear caches internal to drush core.
drush_core_php_script in commands/core/core.drush.inc
Command callback. Runs "naked" php scripts and drush "shebang" scripts ("#!/usr/bin/env drush").
drush_core_twig_compile in commands/core/core.drush.inc
drush_dir_md5 in includes/filesystem.inc
Calculates a single md5 hash for all files a directory (incuding subdirectories)
drush_docs_errorcodes in commands/core/docs.drush.inc
docs-errorcodes command. Print a list of all error codes that can be found.
drush_find_profiles in includes/drupal.inc
drush_pm_download in commands/pm/download.pm.inc
Command callback. Download Drupal core or any project.
drush_pm_extensions_in_project in commands/pm/pm.drush.inc
Print out all extensions (modules/themes/profiles) found in specified project.
drush_pm_inject_info_file_metadata in commands/pm/pm.drush.inc
Inject metadata into all .info files for a given project.
FileCache::clear in lib/Drush/Cache/FileCache.php
Expire data from the cache. If called without arguments, expirable entries will be cleared from all known cache bins.
FileCache::isEmpty in lib/Drush/Cache/FileCache.php
Check if a cache bin is empty.
make_move_build in commands/make/make.drush.inc
Move the completed build into place.
pm_drush_pm_download_destination_alter in commands/pm/download.pm.inc
Implementation of hook_drush_pm_download_destination_alter().
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core.
_drush_add_commandfiles in includes/command.inc
_drush_config_export in commands/core/config.drush.inc
_drush_find_local_sites_at_root in includes/sitealias.inc
Return a list of all of the local sites at the specified drupal root.
_drush_find_local_sites_in_sites_folder in includes/sitealias.inc
Return a list of all of the local sites at the specified 'sites' folder.
_drush_sitealias_find_alias_files in includes/sitealias.inc
Function to find all alias files that might contain aliases that match the requested alias name.
_drush_sitealias_site_list in commands/core/sitealias.drush.inc
Return a list of all of the local sites at the current drupal root.
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.
_pm_update_move_files in commands/pm/updatecode.pm.inc
Move some files from one location to another.