#include <caching_build_api.h>
|
| CachingBuildApi (BuildApi &build_api, std::string cache_base_path) |
|
Result< Build > | GetBuild (const BuildString &build_string) override |
|
Result< std::string > | DownloadFile (const Build &build, const std::string &target_directory, const std::string &artifact_name) override |
|
Result< std::string > | DownloadFileWithBackup (const Build &build, const std::string &target_directory, const std::string &artifact_name, const std::string &backup_artifact_name) override |
|
Result< SeekableZipSource > | FileReader (const Build &, const std::string &artifact) override |
|
virtual | ~BuildApi ()=default |
|
virtual Result< Build > | GetBuild (const BuildString &build_string)=0 |
|
virtual Result< std::string > | DownloadFile (const Build &build, const std::string &target_directory, const std::string &artifact_name)=0 |
|
virtual Result< std::string > | DownloadFileWithBackup (const Build &build, const std::string &target_directory, const std::string &artifact_name, const std::string &backup_artifact_name)=0 |
|
virtual Result< SeekableZipSource > | FileReader (const Build &, const std::string &artifact_name)=0 |
|
◆ CachingBuildApi()
cuttlefish::CachingBuildApi::CachingBuildApi |
( |
BuildApi & |
build_api, |
|
|
std::string |
cache_base_path |
|
) |
| |
◆ CanCache()
Result< bool > cuttlefish::CachingBuildApi::CanCache |
( |
const std::string & |
target_directory | ) |
|
|
private |
◆ DownloadFile()
Result< std::string > cuttlefish::CachingBuildApi::DownloadFile |
( |
const Build & |
build, |
|
|
const std::string & |
target_directory, |
|
|
const std::string & |
artifact_name |
|
) |
| |
|
overridevirtual |
◆ DownloadFileWithBackup()
Result< std::string > cuttlefish::CachingBuildApi::DownloadFileWithBackup |
( |
const Build & |
build, |
|
|
const std::string & |
target_directory, |
|
|
const std::string & |
artifact_name, |
|
|
const std::string & |
backup_artifact_name |
|
) |
| |
|
overridevirtual |
◆ FileReader()
◆ GetBuild()
◆ build_api_
BuildApi& cuttlefish::CachingBuildApi::build_api_ |
|
private |
◆ cache_base_path_
std::string cuttlefish::CachingBuildApi::cache_base_path_ |
|
private |
The documentation for this class was generated from the following files: