function drush_filename_blacklist

8.0.x command.inc drush_filename_blacklist()
6.x command.inc drush_filename_blacklist()
7.x command.inc drush_filename_blacklist()
4.x command.inc drush_filename_blacklist()
5.x command.inc drush_filename_blacklist()
master command.inc drush_filename_blacklist()

Substrings to ignore during commandfile searching.

2 calls to drush_filename_blacklist()
_drush_add_commandfiles in includes/command.inc
_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.

File

includes/command.inc, line 1478
The drush command engine.

Code

function drush_filename_blacklist() {
  return array_diff(array('.', '..', 'drush_make', 'examples', 'tests', 'disabled', 'gitcache', 'cache', 'drush4', 'drush5', 'drush6', 'drush7'), array('drush' . DRUSH_MAJOR_VERSION));
}