diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-06-28 00:05:21 -0700 |
---|---|---|
committer | jade <lix@jade.fyi> | 2024-07-19 20:55:55 +0000 |
commit | 77ff799cc8214db4db8f848c56bdc8c502a0fdb7 (patch) | |
tree | 3568d3411fc56d5fb6ffc4765a03b2088b666074 /src/libstore/local-store.hh | |
parent | 22252825c4ea5e8a60eea419ebe352cab184e8b6 (diff) |
gc: refactor the gc server thread out into a class without changing it
This removes a *whole load* of variables from scope and enforces thread
boundaries with the type system.
There is not much change of significance in here, so the things to watch
out for while reviewing it are primarily that the destructor ordering
may have changed inadvertently, I think.
Change-Id: I3cd87e6d5a08dfcf368637407251db22a8906316
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index fd2985a86..f6b553615 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -119,7 +119,8 @@ public: const Path dbDir; const Path linksDir; - const Path reservedPath; + /** Path kept around to reserve some filesystem space to be able to begin a garbage collection */ + const Path reservedSpacePath; const Path schemaPath; const Path tempRootsDir; const Path fnTempRoots; |