From 29cf434a35d82529f56c085c9cd50858c148d086 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Dec 2006 01:31:45 +0000 Subject: * The determination of the root set should be made by the privileged process, so forward the operation. * Spam the user about GC misconfigurations (NIX-71). * findRoots: skip all roots that are unreadable - the warnings with which we spam the user should be enough. --- src/libstore/local-store.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstore/local-store.hh') diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 251f8922fa45..a7b3926cc7af 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -64,6 +64,8 @@ public: void addIndirectRoot(const Path & path); void syncWithGC(); + + Roots findRoots(); }; -- cgit 1.4.1