class hackedFileIncludeEndingsHasher in Hacked! 7.2
Same name and namespace in other branches
- 6.2 includes/hacked_project.inc \hackedFileIncludeEndingsHasher
This is a much faster, but potentially less useful file hasher.
Hierarchy
- class \hackedFileHasher
Expanded class hierarchy of hackedFileIncludeEndingsHasher
1 string reference to 'hackedFileIncludeEndingsHasher'
- hacked_hacked_file_hashers_info in ./
hacked.module - Implements hook_hacked_file_hashers_info().
File
- includes/
hackedFileIncludeEndingsHasher.inc, line 7
View source
class hackedFileIncludeEndingsHasher extends hackedFileHasher {
function perform_hash($filename) {
return sha1_file($filename);
}
function fetch_lines($filename) {
return file($filename);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
hackedFileHasher:: |
function | |||
hackedFileHasher:: |
function | |||
hackedFileHasher:: |
function | |||
hackedFileHasher:: |
function | Returns a hash of the given filename. | ||
hackedFileIncludeEndingsHasher:: |
function |
Compute and return the lines of the given file. Overrides hackedFileHasher:: |
||
hackedFileIncludeEndingsHasher:: |
function |
Compute and return the hash of the given file. Overrides hackedFileHasher:: |