19#ifdef DIGEST_TESTSUITE
23#include <zypp/Digest.h>
24#include <zypp/base/PtrTypes.h>
39#ifdef DIGEST_TESTSUITE
54 cerr <<
"Usage: " <<
argv[0] <<
" <DIGESTNAME> <FILE>" << endl;
61 std::ifstream file(
fn);
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
std::string digest()
get hex string representation of the digest
Easy-to use interface to the ZYPP dependency resolver.
virtual bool askUserToAcceptNoDigest(const zypp::Pathname &file)
virtual bool askUserToAcceptWrongDigest(const Pathname &file, const std::string &requested, const std::string &found)
virtual bool askUserToAccepUnknownDigest(const Pathname &file, const std::string &name)