aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/goal.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-26 13:28:29 +0200
committereldritch horrors <pennae@lix.systems>2024-07-30 16:37:13 +0000
commit97a389b0bee7baf2d445121afa6ec84bef3a4bd7 (patch)
tree058ea8b5244ffb68cc189e1a61b6a5e4ff9f7e7e /src/libstore/build/goal.hh
parent53bfcf2586dea1a43c4d977edc3c78b1538761a7 (diff)
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
Diffstat (limited to 'src/libstore/build/goal.hh')
-rw-r--r--src/libstore/build/goal.hh13
1 files changed, 0 insertions, 13 deletions
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<Goal>
*/
std::optional<ExitCode> exitCode;
-protected:
/**
* Build result.
*/
@@ -107,18 +106,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.
*/
std::unique_ptr<Error> ex;