mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 10:16:15 +02:00
13 lines
270 B
C++
13 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());
|
||
|
}
|
||
|
|
||
|
}
|