karazeh
A cross-platform software updating library.
|
#include <hasher.hpp>
Classes | |
struct | digest_rc |
Public Member Functions | |
hasher (string_t const &name) | |
virtual | ~hasher () |
virtual digest_rc | hex_digest (string_t const &data) const =0 |
virtual digest_rc | hex_digest (std::ifstream &src) const =0 |
virtual digest_rc | hex_digest (path_t const &path) const =0 |
string_t const & | name () const |
Protected Attributes | |
string_t | name_ |
|
inline |
|
inlinevirtual |
digests can be calculated directly off raw data
Implemented in kzh::md5_hasher.
Referenced by kzh::create_operation::commit(), kzh::update_operation::deploy(), kzh::create_operation::deploy(), kzh::downloader::fetch(), kzh::version_manifest::get_current_version(), kzh::create_operation::has_deployed(), kzh::update_operation::stage(), and TEST_CASE().
|
pure virtual |
digests can be calculated off data in a valid file stream
Implemented in kzh::md5_hasher.
Implemented in kzh::md5_hasher.
|
inline |
|
protected |