You are here

function drush_filehash_generate in File Hash 8

Drush callback for filehash-generate command.

File

./filehash.drush.inc, line 28
Drush integration for File Hash module.

Code

function drush_filehash_generate() {
  batch_set(GenerateBatch::createBatch());
  $batch =& batch_get();
  $batch['progressive'] = FALSE;
  drush_backend_batch_process();
}