6 calls to drush_drupal_version()

drush_archive_guess_manifest in commands/core/archive.drush.inc
Try to find docroot and DB dump file in an extracted archive.
drush_drupal_major_version in includes/drupal.inc
Returns the Drupal major version number (6, 7, 8 ...)
dt in includes/output.inc
Rudimentary replacement for Drupal API t() function.
_core_site_status_table in commands/core/core.drush.inc
_drush_bootstrap_drupal_root in includes/bootstrap.inc
Bootstrap Drush with a valid Drupal Directory.
_drush_make_generate_projects in commands/make/generate.make.inc
Generate the $projects makefile array for the current site.