#include <FileChecker.h>
Public Member Functions | |
| ChecksumFileChecker (const CheckSum &checksum) | |
| Constructor. | |
| void | operator() (const Pathname &file) const |
Private Attributes | |
| CheckSum | _checksum |
Checks for a valid checksum and interacts with the user.
Definition at line 60 of file FileChecker.h.
| zypp::ChecksumFileChecker::ChecksumFileChecker | ( | const CheckSum & | checksum | ) |
Constructor.
| checksum | Checksum that validates the file |
Definition at line 25 of file FileChecker.cc.
| void zypp::ChecksumFileChecker::operator() | ( | const Pathname & | file | ) | const |
Try to validate the file
| file | File to validate. |
| CheckSumCheckException | if validation fails |
Definition at line 30 of file FileChecker.cc.
References _checksum, zypp::CheckSum::checksum(), zypp::filesystem::checksum(), zypp::CheckSum::empty(), MIL, report, zypp::CheckSum::type(), WAR, and ZYPP_THROW.
CheckSum zypp::ChecksumFileChecker::_checksum [private] |
1.5.3