about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2019-03-09T23·37+0100
committerGuillaume Maudoux <layus.on@gmail.com>2019-03-09T23·56+0100
commit38ee16ae9c277b0512559282c950c48c71e27697 (patch)
tree59e9201c82d510a111a7a181158905e0cb1e742a /src/libstore/local-store.hh
parent9d7221183a6825d798267288ebe7d3e2adcd8cde (diff)
Unify internal findRootsXxx() api
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 730d4c917d34..39a34597e2b4 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -180,7 +180,7 @@ private:
     typedef std::shared_ptr<AutoCloseFD> FDPtr;
     typedef list<FDPtr> FDs;
 
-    std::set<std::pair<pid_t, Path>> readTempRoots(FDs & fds);
+    void findTempRoots(FDs & fds, Roots & roots);
 
 public:
 
@@ -267,7 +267,7 @@ private:
 
     void findRoots(const Path & path, unsigned char type, Roots & roots);
 
-    Roots findRootsNoTemp();
+    void findRootsNoTemp(Roots & roots);
 
     void findRuntimeRoots(Roots & roots);