mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 23:42:43 +01:00
Make the canReachRoots() traversal non-recursive
This commit is contained in:
parent
09b14ea97a
commit
eab934cb2a
3 changed files with 115 additions and 111 deletions
|
|
@ -240,11 +240,6 @@ private:
|
|||
|
||||
struct GCState;
|
||||
|
||||
bool canReachRoot(
|
||||
GCState & state,
|
||||
StorePathSet & visited,
|
||||
const StorePath & path);
|
||||
|
||||
void deleteFromStore(GCState & state, std::string_view baseName);
|
||||
|
||||
void findRoots(const Path & path, unsigned char type, Roots & roots);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue