Android-cuttlefish cvd tool
Classes | Namespaces | Functions | Variables
cache.h File Reference
#include <cstddef>
#include <string>
#include "cuttlefish/common/libs/utils/result.h"
Include dependency graph for cache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::PruneResult
 

Namespaces

namespace  cuttlefish
 

Functions

Result< void > cuttlefish::EmptyCache (const std::string &cache_directory)
 
Result< std::size_t > cuttlefish::GetCacheSize (const std::string &cache_directory)
 
Result< PruneResult > cuttlefish::PruneCache (const std::string &cache_directory, const std::size_t allowed_size_gb)
 

Variables

constexpr std::size_t cuttlefish::kDefaultCacheSizeGb = 25