aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/gc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index d3092d91c..46b588570 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -30,6 +30,9 @@ public:
void FilterCids(std::span<const IoHash> Cid, std::function<void(const IoHash&)> KeepFunc);
void FilterCas(std::span<const IoHash> Cas, std::function<void(const IoHash&)> KeepFunc);
+ bool IsDeletionMode() const;
+ void SetDeletionMode(bool NewState);
+
private:
struct GcState;