1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-19 08:49:35 +01:00

Unify internal findRootsXxx() api

This commit is contained in:
Guillaume Maudoux 2019-03-10 00:37:52 +01:00
parent 9d7221183a
commit 38ee16ae9c
2 changed files with 15 additions and 24 deletions

View file

@ -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);