blob: 8a26832ab289a1359bf17d52cae297c2a74580a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "log-store.hh"
namespace nix {
std::optional<std::string> LogStore::getBuildLog(const StorePath & path) {
auto maybePath = getBuildDerivationPath(path);
if (!maybePath)
return std::nullopt;
return getBuildLogExact(maybePath.value());
}
}
|