From 97a389b0bee7baf2d445121afa6ec84bef3a4bd7 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 26 Jul 2024 13:28:29 +0200 Subject: libstore: move Goal::getBuildResult to BuildResult there are no other uses for this yet, but asking for just a subset of outputs does seem at least somewhat useful to have as a generic thing Change-Id: I30ff5055a666c351b1b086b8d05b9d7c9fb1c77a --- src/libstore/build/goal.hh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/libstore/build/goal.hh') diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh index 94346531e..575621037 100644 --- a/src/libstore/build/goal.hh +++ b/src/libstore/build/goal.hh @@ -98,7 +98,6 @@ struct Goal : public std::enable_shared_from_this */ std::optional exitCode; -protected: /** * Build result. */ @@ -106,18 +105,6 @@ protected: public: - /** - * Project a `BuildResult` with just the information that pertains - * to the given request. - * - * In general, goals may be aliased between multiple requests, and - * the stored `BuildResult` has information for the union of all - * requests. We don't want to leak what the other request are for - * sake of both privacy and determinism, and this "safe accessor" - * ensures we don't. - */ - BuildResult getBuildResult(const DerivedPath &) const; - /** * Exception containing an error message, if any. */ -- cgit v1.2.3