diff --git a/src/libstore/local-overlay-store.hh b/src/libstore/local-overlay-store.hh index 21af396a6..b91f68eea 100644 --- a/src/libstore/local-overlay-store.hh +++ b/src/libstore/local-overlay-store.hh @@ -124,6 +124,13 @@ private: 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; /**