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

Extend verify test to check that repair is supported.

This commit is contained in:
Ben Radford 2023-07-25 13:30:21 +01:00
parent ae0eb7424f
commit 497464f494
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5
4 changed files with 37 additions and 16 deletions

View file

@ -209,13 +209,6 @@ void LocalOverlayStore::optimiseStore()
}
}
bool LocalOverlayStore::verifyStore(bool checkContents, RepairFlag repair)
{
if (repair)
warn("local-overlay: store does not support --verify --repair");
return LocalStore::verifyStore(checkContents, NoRepair);
}
static RegisterStoreImplementation<LocalOverlayStore, LocalOverlayStoreConfig> regLocalOverlayStore;
}

View file

@ -114,8 +114,6 @@ private:
void deleteGCPath(const Path & path, uint64_t & bytesFreed) override;
void optimiseStore() override;
bool verifyStore(bool checkContents, RepairFlag repair) override;
};
}