mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 17:29:36 +01:00
Reuse deletion logic for optimiseStore and rename method.
This commit is contained in:
parent
11c493f8fa
commit
33ebae75ca
5 changed files with 8 additions and 7 deletions
|
|
@ -457,7 +457,7 @@ AutoCloseFD LocalStore::openGCLock()
|
|||
}
|
||||
|
||||
|
||||
void LocalStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
|
||||
void LocalStore::deleteStorePath(const Path & path, uint64_t & bytesFreed)
|
||||
{
|
||||
deletePath(path, bytesFreed);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue