mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 17:29:36 +01:00
More sensible to have deleteGCPath in LocalStore.
This commit is contained in:
parent
a48acfd684
commit
8a9baa0a30
5 changed files with 14 additions and 14 deletions
|
|
@ -457,6 +457,12 @@ AutoCloseFD LocalStore::openGCLock()
|
|||
}
|
||||
|
||||
|
||||
void LocalStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
|
||||
{
|
||||
deletePath(path, bytesFreed);
|
||||
}
|
||||
|
||||
|
||||
LocalStore::~LocalStore()
|
||||
{
|
||||
std::shared_future<void> future;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue