about summary refs log tree commit diff
path: root/src/libstore/gc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/gc.hh')
-rw-r--r--src/libstore/gc.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh
index 91c5be91406b..03e1d769153b 100644
--- a/src/libstore/gc.hh
+++ b/src/libstore/gc.hh
@@ -26,5 +26,8 @@ void addTempRoot(const Path & path);
    as a (permanent) root. */
 void removeTempRoots();
 
+/* Register a permanent GC root. */
+Path addPermRoot(const Path & storePath, const Path & gcRoot);
+
 
 #endif /* !__GC_H */