#include <cas_downloader.h>
|
| CasDownloader (std::string downloader_path, std::vector< std::string > flags, bool prefer_uncompressed=false) |
|
virtual | ~CasDownloader ()=default |
|
virtual Result< void > | DownloadFile (const std::string &build_id, const std::string &build_target, const std::string &artifact_name, const std::string &target_directory, const DigestsFetcher &digests_fetcher, const std::optional< std::string > &stats_filepath=std::nullopt) |
|
◆ CasDownloader()
cuttlefish::CasDownloader::CasDownloader |
( |
std::string |
downloader_path, |
|
|
std::vector< std::string > |
flags, |
|
|
bool |
prefer_uncompressed = false |
|
) |
| |
◆ ~CasDownloader()
virtual cuttlefish::CasDownloader::~CasDownloader |
( |
| ) |
|
|
virtualdefault |
◆ Create()
◆ DownloadFile()
Result< void > cuttlefish::CasDownloader::DownloadFile |
( |
const std::string & |
build_id, |
|
|
const std::string & |
build_target, |
|
|
const std::string & |
artifact_name, |
|
|
const std::string & |
target_directory, |
|
|
const DigestsFetcher & |
digests_fetcher, |
|
|
const std::optional< std::string > & |
stats_filepath = std::nullopt |
|
) |
| |
|
virtual |
◆ GetCasIdentifier()
Result< CasIdentifier > cuttlefish::CasDownloader::GetCasIdentifier |
( |
const std::string & |
build_id, |
|
|
const std::string & |
build_target, |
|
|
const std::string & |
artifact_name, |
|
|
const DigestsFetcher & |
digests_fetcher |
|
) |
| |
|
private |
◆ build_desc_
std::string cuttlefish::CasDownloader::build_desc_ |
|
private |
◆ cas_digests_
Json::Value cuttlefish::CasDownloader::cas_digests_ |
|
private |
◆ downloader_path_
std::string cuttlefish::CasDownloader::downloader_path_ |
|
private |
◆ flags_
std::vector<std::string> cuttlefish::CasDownloader::flags_ |
|
private |
◆ prefer_uncompressed_
bool cuttlefish::CasDownloader::prefer_uncompressed_ |
|
private |
The documentation for this class was generated from the following files: