From d6105778839cbdae5bfd234d54929b972328a6ee Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 9 Mar 2022 18:11:20 +0100 Subject: LocalCAS: Set epoch time for every entry ... and refactor static constant to proper format `kFdLess`. --- src/buildtool/execution_api/local/local_cas.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/execution_api/local/local_cas.hpp') diff --git a/src/buildtool/execution_api/local/local_cas.hpp b/src/buildtool/execution_api/local/local_cas.hpp index 470c38b9..f5158662 100644 --- a/src/buildtool/execution_api/local/local_cas.hpp +++ b/src/buildtool/execution_api/local/local_cas.hpp @@ -52,8 +52,8 @@ class LocalCAS { Logger logger_{std::string{"LocalCAS"} + kSuffix}; std::filesystem::path const cache_root_{ LocalExecutionConfig::GetCacheDir()}; - FileStorage file_store_{cache_root_ / - (std::string{"cas"} + kSuffix)}; + FileStorage + file_store_{cache_root_ / (std::string{"cas"} + kSuffix)}; [[nodiscard]] static auto CreateDigest(std::string const& bytes) noexcept -> std::optional { -- cgit v1.2.3