Android-cuttlefish cvd tool
Classes | Functions | Variables
cuttlefish::anonymous_namespace{caching_build_api.cpp} Namespace Reference

Classes

struct  CachingPaths
 

Functions

Result< CachingPaths > ConstructCachePaths (const std::string &cache_base, const std::string &build_key, const std::string &target_directory, const std::string &artifact, const std::string &backup_artifact="")
 
bool IsInCache (const std::string &filepath)
 
void WarnUnversioned (const Build &build, const std::string &artifact)
 

Variables

constexpr bool kOverwriteExistingFile = true
 

Function Documentation

◆ ConstructCachePaths()

Result< CachingPaths > cuttlefish::anonymous_namespace{caching_build_api.cpp}::ConstructCachePaths ( const std::string &  cache_base,
const std::string &  build_key,
const std::string &  target_directory,
const std::string &  artifact,
const std::string &  backup_artifact = "" 
)

◆ IsInCache()

bool cuttlefish::anonymous_namespace{caching_build_api.cpp}::IsInCache ( const std::string &  filepath)

◆ WarnUnversioned()

void cuttlefish::anonymous_namespace{caching_build_api.cpp}::WarnUnversioned ( const Build &  build,
const std::string &  artifact 
)

Variable Documentation

◆ kOverwriteExistingFile

constexpr bool cuttlefish::anonymous_namespace{caching_build_api.cpp}::kOverwriteExistingFile = true
constexpr