mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Add test for store optimise path deduplication.
This commit is contained in:
parent
d5cd74a401
commit
614efc1240
5 changed files with 33 additions and 1 deletions
|
@ -188,6 +188,11 @@ void LocalOverlayStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
|
|||
}
|
||||
}
|
||||
|
||||
void LocalOverlayStore::optimiseStore()
|
||||
{
|
||||
warn("not implemented");
|
||||
}
|
||||
|
||||
bool LocalOverlayStore::verifyStore(bool checkContents, RepairFlag repair)
|
||||
{
|
||||
if (repair)
|
||||
|
|
|
@ -113,6 +113,8 @@ 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