37 size_t allowed_size_GB);
Definition: alloc_driver.h:20
Result< PruneResult > PruneCache(const std::string &cache_directory, const size_t allowed_size_gb)
Definition: cache.cpp:89
constexpr size_t kDefaultCacheSizeGb
Definition: cache.h:27
Result< void > EmptyCache(const std::string &cache_directory)
Definition: cache.cpp:77
tl::expected< T, StackTraceError > Result
Definition: result_type.h:30
Result< size_t > GetCacheSize(const std::string &cache_directory)
Definition: cache.cpp:84
size_t before
Definition: cache.h:30
size_t after
Definition: cache.h:31