libzypp  17.2.2
zypp::ChecksumFileChecker Class Reference

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

Detailed Description

Built in file checkers.

Checks for a valid checksum and interacts with the user.

Definition at line 70 of file FileChecker.h.

Member Typedef Documentation

◆ ExceptionType

Constructor & Destructor Documentation

◆ ChecksumFileChecker()

zypp::ChecksumFileChecker::ChecksumFileChecker ( const CheckSum checksum)


checksumChecksum that validates the file

Definition at line 28 of file

Member Function Documentation

◆ operator()()

void zypp::ChecksumFileChecker::operator() ( const Pathname file) const

Try to validate the file.

fileFile to validate.
CheckSumCheckExceptionif validation fails

Definition at line 32 of file

Member Data Documentation

◆ _checksum

CheckSum zypp::ChecksumFileChecker::_checksum

Definition at line 87 of file FileChecker.h.

The documentation for this class was generated from the following files: