Android-cuttlefish cvd tool
Classes | Namespaces | Functions | Variables
cache.h File Reference
#include <stddef.h>
#include <string>
#include "cuttlefish/result/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< size_t > cuttlefish::GetCacheSize (const std::string &cache_directory)
 
Result< PruneResult > cuttlefish::PruneCache (const std::string &cache_directory, const size_t allowed_size_gb)
 

Variables

constexpr size_t cuttlefish::kDefaultCacheSizeGb = 25