1
1
Fork 0
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:
Ben Radford 2023-07-26 13:29:31 +01:00 committed by Ben Radford
parent 11c493f8fa
commit 33ebae75ca
5 changed files with 8 additions and 7 deletions

View file

@ -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);
}