diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-21 09:38:08 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-11-21 11:56:20 +0100 |
commit | e7a5b76844a649645e51a60dd18fd383d14d8755 (patch) | |
tree | ced5a48f3341f53bfad546c673200a604e46047d /src/libstore | |
parent | 62960f32915909a5104f2ca3a32b25fb3cfd34c7 (diff) |
Rename derivedPathsWithHintsToJSON -> builtPathsToJSON
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/derived-path.cc | 2 | ||||
-rw-r--r-- | src/libstore/derived-path.hh | 2 |
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); } |