Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
TargetFile Class Reference

Public Member Functions

 TargetFile (const std::string filename, size_t size=1024, Hash::Type hash_type=Hash::Type::kSha256)
 
std::string path () const
 
const Hashhash () const
 
const size_t & size () const
 
Uptane::Target createTarget (std::shared_ptr< PackageManagerInterface > &package_manager_)
 

Static Public Member Functions

static Hash generateRandomFile (const boost::filesystem::path &filepath, size_t size, Hash::Type hash_type)
 

Detailed Description

Definition at line 384 of file secondary_rpc_test.cc.


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