Update src/libstore/local-overlay-store.hh

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Ben Radford 2023-07-28 12:23:42 +01:00
parent 6a8de4c9dc
commit 1255866e16

View file

@ -124,6 +124,13 @@ private:
void optimiseStore() override; void optimiseStore() override;
/**
* Check all paths registered in the upper DB.
*
* Note that this includes store objects that reside in either overlayfs layer; just enumerating the contents of the upper layer would skip them.
*
* We don't verify the contents of both layers on the assumption that the lower layer is far bigger, and also the observation that anything not in the upper db the overlayfs doesn't yet care about.
*/
bool verifyAllValidPaths(RepairFlag repair, StorePathSet & validPaths) override; bool verifyAllValidPaths(RepairFlag repair, StorePathSet & validPaths) override;
/** /**