function _drush_usage_get_file

8.0.x _drush_usage_get_file($required = FALSE)
6.x _drush_usage_get_file($required = FALSE)
7.x _drush_usage_get_file($required = FALSE)
5.x _drush_usage_get_file($required = FALSE)
3 calls to _drush_usage_get_file()
drush_usage_send in commands/core/
drush_usage_show in commands/core/
usage_drush_exit in commands/core/
Log and/or send usage data to Mongolab.


commands/core/, line 82
Send scrubbed usage data to drush. Omits arguments and option values in order to assure that no sensitive data is shared. See


function _drush_usage_get_file($required = FALSE) {
  $file = drush_directory_cache('usage') . '/usage.txt';
  if (!file_exists($file) && $required) {
    return FALSE; // drush_set_error('DRUSH_NO_USAGE_FILE', dt("No usage file; set $options['drush_usage_log'] = TRUE; in a .drushrc.php file to enable."));
  return $file;