diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-10-08 14:58:35 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-10-13 12:12:44 +0200 |
commit | 1785ba2980c9dd8274dd4bec5c0e46be02544b7e (patch) | |
tree | a1f6ebde142144a4a3a46996e3428b4862f59573 /src/libstore/local-store.hh | |
parent | dced45f146e5562b30ad8fb83260019a6f270ae5 (diff) |
Simplify
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 12c057ec3..08bbc1a7d 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -243,9 +243,11 @@ private: bool tryToDelete( GCState & state, StorePathSet & visited, - const Path & path, + const StorePath & path, bool recursive); + void deleteFromStore(GCState & state, std::string_view baseName); + void findRoots(const Path & path, unsigned char type, Roots & roots); void findRootsNoTemp(Roots & roots, bool censor); |