You are here

function drush_xhprof_list_run_files in XHProf 8

Same name and namespace in other branches
  1. 6 xhprof.drush.inc \drush_xhprof_list_run_files()
  2. 7 xhprof.drush.inc \drush_xhprof_list_run_files()
1 call to drush_xhprof_list_run_files()
drush_xhprof_clear in ./xhprof.drush.inc
A command callback.

File

./xhprof.drush.inc, line 144

Code

function drush_xhprof_list_run_files() {
  $dir = drush_xhprof_get_dir();
  $files = [];
  foreach (glob("{$dir}/*.xhprof") as $file) {
    $files[] = $file;
  }
  return $files;
}