diff options
| author | Stefan Boberg <[email protected]> | 2021-08-12 23:39:21 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-12 23:39:21 +0200 |
| commit | a5ec2b95433b45c93e9f33805cb9f80ec3a0e841 (patch) | |
| tree | 9d5e41a2cbed6857eb3cd374d08029e440ca060c | |
| parent | trivial: Comment update stating intent (diff) | |
| download | zen-a5ec2b95433b45c93e9f33805cb9f80ec3a0e841.tar.xz zen-a5ec2b95433b45c93e9f33805cb9f80ec3a0e841.zip | |
Added placeholder chunk fetch
| -rw-r--r-- | zenserver/upstream/zen.cpp | 8 | ||||
| -rw-r--r-- | zenserver/upstream/zen.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/zenserver/upstream/zen.cpp b/zenserver/upstream/zen.cpp index 715df6f69..55964643a 100644 --- a/zenserver/upstream/zen.cpp +++ b/zenserver/upstream/zen.cpp @@ -377,6 +377,14 @@ ZenStructuredCacheSession::Get(std::string_view BucketId, const IoHash& Key) return {}; } +IoBuffer +ZenStructuredCacheSession::Get(std::string_view BucketId, const IoHash& Key, const IoHash& ContentId) +{ + ZEN_UNUSED(BucketId, Key, ContentId); + + return {}; +} + void ZenStructuredCacheSession::Put(std::string_view BucketId, const IoHash& Key, ZenCacheValue Data) { diff --git a/zenserver/upstream/zen.h b/zenserver/upstream/zen.h index 9bdcdda23..1d7d5752e 100644 --- a/zenserver/upstream/zen.h +++ b/zenserver/upstream/zen.h @@ -99,6 +99,7 @@ public: // Structured cache operations IoBuffer Get(std::string_view BucketId, const IoHash& Key); + IoBuffer Get(std::string_view BucketId, const IoHash& Key, const IoHash& ContentId); void Put(std::string_view BucketId, const IoHash& Key, ZenCacheValue Data); private: |