aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorBen Radford <benradf@users.noreply.github.com>2023-07-28 10:11:45 +0100
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-31 11:17:55 -0400
commitc9a87ce7ca50b0a14c4c77fd2b6ca41a74ba6cb9 (patch)
treeba4c8b75c61ac4f6c9eddfe852adce39132f0780 /src/libstore/local-store.hh
parent2d1d81114d72ace89ce08cd3bc93f4eb27a2975d (diff)
Refactor verifyPath to take StorePath instead of Path.
This way we avoid having to convert from Path to StorePath and vice versa in the body of verifyPath.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 4125cacf4..c9b570eaa 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -314,8 +314,8 @@ private:
*/
void invalidatePathChecked(const StorePath & path);
- void verifyPath(const Path & path, const StringSet & store,
- PathSet & done, StorePathSet & validPaths, RepairFlag repair, bool & errors);
+ void verifyPath(const StorePath & path, const StringSet & store,
+ StorePathSet & done, StorePathSet & validPaths, RepairFlag repair, bool & errors);
std::shared_ptr<const ValidPathInfo> queryPathInfoInternal(State & state, const StorePath & path);