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:
parent
9d7221183a
commit
38ee16ae9c
2 changed files with 15 additions and 24 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue