mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
12 lines
270 B
C++
12 lines
270 B
C++
#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());
|
|
}
|
|
|
|
}
|