#include <cas_downloader.h>
|
| | CasDownloader (BuildApi< DeviceBuildString, DeviceBuild > &digests_source, std::string downloader_path, std::vector< std::string > flags, bool prefer_uncompressed=false) |
| |
| | ~CasDownloader () override=default |
| |
| Result< DeviceBuild > | GetBuild (const DeviceBuildString &build_string) override |
| |
| Result< std::string > | DownloadFile (const DeviceBuild &build, const std::string &target_directory, const std::string &artifact_name) override |
| |
| Result< std::string > | DownloadFile (const DeviceBuild &build, const std::string &target_directory, const std::string &artifact_name, const std::optional< std::string > &stats_filepath) |
| |
| Result< std::unique_ptr< ReaderSeeker > > | FileReader (const DeviceBuild &build, const std::string &artifact_name) override |
| |
| virtual | ~BuildApi ()=default |
| |
| virtual Result< DeviceBuild > | GetBuild (const DeviceBuildString &build_string)=0 |
| |
| virtual Result< std::string > | DownloadFile (const DeviceBuild &build, const std::string &target_directory, const std::string &artifact_name)=0 |
| |
| virtual Result< std::unique_ptr< ReaderSeeker > > | FileReader (const DeviceBuild &, const std::string &artifact_name)=0 |
| |
◆ CasDownloader()
| cuttlefish::CasDownloader::CasDownloader |
( |
BuildApi< DeviceBuildString, DeviceBuild > & |
digests_source, |
|
|
std::string |
downloader_path, |
|
|
std::vector< std::string > |
flags, |
|
|
bool |
prefer_uncompressed = false |
|
) |
| |
◆ ~CasDownloader()
| cuttlefish::CasDownloader::~CasDownloader |
( |
| ) |
|
|
overridedefault |
◆ Create()
◆ CreateImpl()
◆ DownloadFile() [1/2]
| Result< std::string > cuttlefish::CasDownloader::DownloadFile |
( |
const DeviceBuild & |
build, |
|
|
const std::string & |
target_directory, |
|
|
const std::string & |
artifact_name |
|
) |
| |
|
overridevirtual |
◆ DownloadFile() [2/2]
| Result< std::string > cuttlefish::CasDownloader::DownloadFile |
( |
const DeviceBuild & |
build, |
|
|
const std::string & |
target_directory, |
|
|
const std::string & |
artifact_name, |
|
|
const std::optional< std::string > & |
stats_filepath |
|
) |
| |
◆ FileReader()
◆ GetBuild()
◆ GetCasIdentifier()
| Result< CasIdentifier > cuttlefish::CasDownloader::GetCasIdentifier |
( |
const DeviceBuild & |
build, |
|
|
const std::string & |
target_directory, |
|
|
const std::string & |
artifact_name |
|
) |
| |
|
private |
◆ build_desc_
| std::string cuttlefish::CasDownloader::build_desc_ |
|
private |
◆ cas_digests_
| Json::Value cuttlefish::CasDownloader::cas_digests_ |
|
private |
◆ digests_source_
◆ 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: