diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-31 11:13:38 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-31 12:44:18 -0400 |
commit | 2a5f5fbb1776f5086646407e5296c372321863b9 (patch) | |
tree | 7893acea7b61c012e1e724cbf4f8889faf0d59d1 /src/libstore/local-store.hh | |
parent | dcdd5fed74445c526a361202a9e6c8459a38726b (diff) |
`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.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index c9b570eaa..e97195f5b 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -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); |