aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-12 12:46:33 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-12 12:46:33 +0200
commit045b07200c77bf1fe19c0a986aafb531e7e1ba54 (patch)
treefbe2c63539049beaca11f2e1620411e38eb7663a /src/libstore/build.cc
parent4a4c0632221d8126c9095d43919ea8ed2d260ff4 (diff)
Remove Store::queryDerivationOutputNames()
This function was used in only one place, where it could easily be replaced by readDerivation() since it's not performance-critical. (This function appears to have been modelled after queryDerivationOutputs(), which exists only to make the garbage collector faster.)
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index bdf03ff94..3ab6220e3 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2723,9 +2723,6 @@ struct RestrictedStore : public LocalFSStore
StorePathSet queryDerivationOutputs(const StorePath & path) override
{ throw Error("queryDerivationOutputs"); }
- StringSet queryDerivationOutputNames(const StorePath & path) override
- { throw Error("queryDerivationOutputNames"); }
-
std::optional<StorePath> queryPathFromHashPart(const std::string & hashPart) override
{ throw Error("queryPathFromHashPart"); }