aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-11-21 09:38:08 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-11-21 09:38:08 +0100
commitf538ee434285304cb61cf10bf13127f13bfced1b (patch)
tree5e108fc2f463abb2ecae28077ed9ae267469a99f /src/libstore
parente6b71f84a0a766429fdceaf188ea0167e36a20d9 (diff)
Rename derivedPathsWithHintsToJSON -> builtPathsToJSON
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/derived-path.cc2
-rw-r--r--src/libstore/derived-path.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/derived-path.cc b/src/libstore/derived-path.cc
index 44587ae78..7fe9b9648 100644
--- a/src/libstore/derived-path.cc
+++ b/src/libstore/derived-path.cc
@@ -64,7 +64,7 @@ nlohmann::json stuffToJSON(const std::vector<T> & ts, ref<Store> store) {
return res;
}
-nlohmann::json derivedPathsWithHintsToJSON(const BuiltPaths & buildables, ref<Store> store)
+nlohmann::json builtPathsToJSON(const BuiltPaths & buildables, ref<Store> store)
{ return stuffToJSON<BuiltPath>(buildables, store); }
nlohmann::json derivedPathsToJSON(const DerivedPaths & paths, ref<Store> store)
{ return stuffToJSON<DerivedPath>(paths, store); }
diff --git a/src/libstore/derived-path.hh b/src/libstore/derived-path.hh
index 24a0ae773..b2d0956b8 100644
--- a/src/libstore/derived-path.hh
+++ b/src/libstore/derived-path.hh
@@ -125,7 +125,7 @@ struct BuiltPath : _BuiltPathRaw {
typedef std::vector<DerivedPath> DerivedPaths;
typedef std::vector<BuiltPath> BuiltPaths;
-nlohmann::json derivedPathsWithHintsToJSON(const BuiltPaths & buildables, ref<Store> store);
+nlohmann::json builtPathsToJSON(const BuiltPaths & buildables, ref<Store> store);
nlohmann::json derivedPathsToJSON(const DerivedPaths & , ref<Store> store);
}