class hackedFileIncludeEndingsHasher in Hacked! 8.2
This is a much faster, but potentially less useful file hasher.
Hierarchy
- class \Drupal\hacked\hackedFileHasher
- class \Drupal\hacked\hackedFileIncludeEndingsHasher
Expanded class hierarchy of hackedFileIncludeEndingsHasher
File
- src/
hackedFileIncludeEndingsHasher.php, line 8
Namespace
Drupal\hackedView 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:: |