|
libzypp
15.22.2
|
Built in file checkers. More...
#include <FileChecker.h>
Public Types | |
| typedef CheckSumCheckException | ExceptionType |
Public Member Functions | |
| ChecksumFileChecker (const CheckSum &checksum) | |
| Constructor. More... | |
| void | operator() (const Pathname &file) const |
| Try to validate the file. More... | |
Private Attributes | |
| CheckSum | _checksum |
Built in file checkers.
Checks for a valid checksum and interacts with the user.
Definition at line 70 of file FileChecker.h.
Definition at line 73 of file FileChecker.h.
| zypp::ChecksumFileChecker::ChecksumFileChecker | ( | const CheckSum & | checksum | ) |
Constructor.
| checksum | Checksum that validates the file |
Definition at line 28 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 32 of file FileChecker.cc.
|
private |
Definition at line 87 of file FileChecker.h.