aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/log-store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/log-store.hh')
-rw-r--r--src/libstore/log-store.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libstore/log-store.hh b/src/libstore/log-store.hh
index b807e3e71..e4d95bab6 100644
--- a/src/libstore/log-store.hh
+++ b/src/libstore/log-store.hh
@@ -11,12 +11,7 @@ struct LogStore : public virtual Store
/* Return the build log of the specified store path, if available,
or null otherwise. */
- std::optional<std::string> getBuildLog(const StorePath & path) {
- auto maybePath = getBuildDerivationPath(path);
- if (!maybePath)
- return std::nullopt;
- return getBuildLogExact(maybePath.value());
- }
+ std::optional<std::string> getBuildLog(const StorePath & path);
virtual std::optional<std::string> getBuildLogExact(const StorePath & path) = 0;