Nix
2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Toggle main menu visibility
Loading...
Searching...
No Matches
log-store.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
nix/store/store-api.hh
"
5
6
namespace
nix {
7
8
struct
LogStore
:
public
virtual
Store
9
{
10
private
:
11
void
anchor()
override
;
12
13
public
:
14
inline
static
std::string operationName =
"Build log storage and retrieval"
;
15
20
std::optional<std::string>
getBuildLog
(
const
StorePath
& path);
21
22
virtual
std::optional<std::string> getBuildLogExact(
const
StorePath
& path) = 0;
23
24
virtual
void
addBuildLog(
const
StorePath
& path, std::string_view log) = 0;
25
};
26
27
}
// namespace nix
nix::StorePath
Definition
path.hh:33
store-api.hh
nix::LogStore
Definition
log-store.hh:9
nix::LogStore::getBuildLog
std::optional< std::string > getBuildLog(const StorePath &path)
Definition
log-store.cc:7
libstore
include
nix
store
log-store.hh
Generated by
1.18.0