aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/gc-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/gc-store.hh')
-rw-r--r--src/libstore/gc-store.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/gc-store.hh b/src/libstore/gc-store.hh
index ab1059fb1..88c997247 100644
--- a/src/libstore/gc-store.hh
+++ b/src/libstore/gc-store.hh
@@ -7,7 +7,14 @@
namespace nix {
+/**
+ * Garbage-collector roots, referring to a store path
+ */
typedef std::unordered_map<StorePath, std::unordered_set<std::string>> Roots;
+/**
+ * Possible garbage collector roots, referring to any path
+ */
+typedef std::unordered_map<Path, std::unordered_set<std::string>> UncheckedRoots;
struct GCOptions