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:
parent
ae0eb7424f
commit
497464f494
4 changed files with 37 additions and 16 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -114,8 +114,6 @@ private:
|
|||
void deleteGCPath(const Path & path, uint64_t & bytesFreed) override;
|
||||
|
||||
void optimiseStore() override;
|
||||
|
||||
bool verifyStore(bool checkContents, RepairFlag repair) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue