mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 22:20:59 +01:00
LocalStore::verifyPath: Use StorePathSet for store local var
We don't care about non-store-paths in there (things like `.links`, are, in fact, allowed). So let's just skip them up front and be more strongly typed.
This commit is contained in:
parent
dcdd5fed74
commit
2a5f5fbb17
2 changed files with 9 additions and 5 deletions
|
|
@ -314,7 +314,7 @@ private:
|
|||
*/
|
||||
void invalidatePathChecked(const StorePath & path);
|
||||
|
||||
void verifyPath(const StorePath & path, const StringSet & store,
|
||||
void verifyPath(const StorePath & path, const StorePathSet & store,
|
||||
StorePathSet & done, StorePathSet & validPaths, RepairFlag repair, bool & errors);
|
||||
|
||||
std::shared_ptr<const ValidPathInfo> queryPathInfoInternal(State & state, const StorePath & path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue