function hacked_hacked_file_hashers_info in Hacked! 6.2
Same name and namespace in other branches
- 8.2 hacked.module \hacked_hacked_file_hashers_info()
- 7.2 hacked.module \hacked_hacked_file_hashers_info()
Implements hook_hacked_file_hashers_info().
File
- ./
hacked.module, line 359 - The Hacked! module, shows which project have been changed since download.
Code
function hacked_hacked_file_hashers_info() {
$hashers = array();
$hashers['hacked_ignore_line_endings'] = array(
'class' => 'hackedFileIgnoreEndingsHasher',
'name' => t('Ignore line endings'),
'description' => t('When hashing files differences in line endings will be ignored. This might be useful if projects have been edited on a different platform than of the original author\'s. E.g. if a file has been opened and saved on Windows.'),
);
$hashers['hacked_include_line_endings'] = array(
'class' => 'hackedFileIncludeEndingsHasher',
'name' => t('Include line endings'),
'description' => t('When hashing files differences in line endings will be included.'),
);
return $hashers;
}