aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 21:35:49 +0200
committerStefan Boberg <[email protected]>2023-05-15 21:35:49 +0200
commit80cade2b1884924ef83b3740d0423ada9f186545 (patch)
treec39ae111a62b7cac2484b4f428f80fc8aced5534 /src
parentMaxOS build fix: ScrubStorage must be override (diff)
downloadzen-80cade2b1884924ef83b3740d0423ada9f186545.tar.xz
zen-80cade2b1884924ef83b3740d0423ada9f186545.zip
removed unnecessary #include directives from cas.h
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/cas.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/zenstore/cas.h b/src/zenstore/cas.h
index e79dea6c9..b951d6d59 100644
--- a/src/zenstore/cas.h
+++ b/src/zenstore/cas.h
@@ -2,20 +2,12 @@
#pragma once
-#include <zencore/blake3.h>
#include <zencore/iobuffer.h>
#include <zencore/iohash.h>
-#include <zencore/refcount.h>
-#include <zencore/timer.h>
#include <zenstore/cidstore.h>
#include <zenstore/hashkeyset.h>
-#include <atomic>
-#include <filesystem>
-#include <functional>
#include <memory>
-#include <string>
-#include <unordered_set>
namespace zen {
@@ -23,8 +15,9 @@ class GcContext;
class GcManager;
class ScrubContext;
-/** Content Addressable Storage interface
+/** CAS storage interface
+ This uses the hash of the stored data (after decompression) as the key
*/
class CasStore
@@ -32,7 +25,7 @@ class CasStore
public:
virtual ~CasStore() = default;
- const CidStoreConfiguration& Config() { return m_Config; }
+ inline const CidStoreConfiguration& Config() { return m_Config; }
struct InsertResult
{