about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/s3-binary-cache-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libstore/s3-binary-cache-store.hh')
-rw-r--r--third_party/nix/src/libstore/s3-binary-cache-store.hh27
1 files changed, 0 insertions, 27 deletions
diff --git a/third_party/nix/src/libstore/s3-binary-cache-store.hh b/third_party/nix/src/libstore/s3-binary-cache-store.hh
deleted file mode 100644
index 3d0d0b3c4496..000000000000
--- a/third_party/nix/src/libstore/s3-binary-cache-store.hh
+++ /dev/null
@@ -1,27 +0,0 @@
-#pragma once
-
-#include <atomic>
-
-#include "libstore/binary-cache-store.hh"
-
-namespace nix {
-
-class S3BinaryCacheStore : public BinaryCacheStore {
- protected:
-  S3BinaryCacheStore(const Params& params) : BinaryCacheStore(params) {}
-
- public:
-  struct Stats {
-    std::atomic<uint64_t> put{0};
-    std::atomic<uint64_t> putBytes{0};
-    std::atomic<uint64_t> putTimeMs{0};
-    std::atomic<uint64_t> get{0};
-    std::atomic<uint64_t> getBytes{0};
-    std::atomic<uint64_t> getTimeMs{0};
-    std::atomic<uint64_t> head{0};
-  };
-
-  virtual const Stats& getS3Stats() = 0;
-};
-
-}  // namespace nix