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:
parent
a48acfd684
commit
8a9baa0a30
5 changed files with 14 additions and 14 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue