Android-cuttlefish cvd tool
Namespaces | Functions
cache.cpp File Reference
#include "cuttlefish/host/commands/cvd/cache/cache.h"
#include <stddef.h>
#include <algorithm>
#include <chrono>
#include <iterator>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/strings/match.h"
#include "fmt/format.h"
#include "cuttlefish/common/libs/utils/disk_usage.h"
#include "cuttlefish/common/libs/utils/files.h"
#include "cuttlefish/files/recursively_remove_directory.h"
#include "cuttlefish/result/result.h"
Include dependency graph for cache.cpp:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{cache.cpp}
 

Functions

Result< std::vector< std::string > > cuttlefish::anonymous_namespace{cache.cpp}::CacheFilesDesc (const std::string &cache_directory)
 
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)