10 calls to drush_scan_directory()

drush_core_find_project_path in commands/core/core.drush.inc
drush_core_php_script in commands/core/core.drush.inc
Command callback. Runs "naked" php scripts.
pm_drush_pm_adjust_download_destination in commands/pm/pm.drush.inc
Built-in adjust-download-destination hook. This particular version of the hook will move modules that contain only drush commands to /usr/share/drush/commands if it exists, or $HOME/.drush if the site-wide location does not exist.
_drush_find_commandfiles in includes/command.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_and_load_alias in includes/sitealias.inc
Worker function called by _drush_sitealias_load_alias and drush_sitealias_load_all. Traverses the alias search path and finds the specified alias record.
_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