1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 13:21:47 +02:00

More sensible to have deleteGCPath in LocalStore.

This commit is contained in:
Ben Radford 2023-06-06 12:06:32 +01:00 committed by Ben Radford
parent a48acfd684
commit 8a9baa0a30
5 changed files with 14 additions and 14 deletions

View file

@ -891,12 +891,6 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
}
void GcStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
{
deletePath(path, bytesFreed);
}
void LocalStore::autoGC(bool sync)
{
static auto fakeFreeSpaceFile = getEnv("_NIX_TEST_FREE_SPACE_FILE");