Nix
2.26.3
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
log-store.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include "
store-api.hh
"
5
6
7
namespace
nix {
8
9
struct
LogStore
:
public
virtual
Store
10
{
11
inline
static
std::string operationName =
"Build log storage and retrieval"
;
12
17
std::optional<std::string>
getBuildLog
(
const
StorePath
& path);
18
19
virtual
std::optional<std::string> getBuildLogExact(
const
StorePath
& path) = 0;
20
21
virtual
void
addBuildLog(
const
StorePath
& path, std::string_view log) = 0;
22
23
static
LogStore
& require(Store &
store
);
24
};
25
26
}
nix::StorePath
Definition
path.hh:27
store
ChunkedVector< std::string, 8192 > store
Definition
lexer.l:1011
store-api.hh
nix::LogStore
Definition
log-store.hh:10
nix::LogStore::getBuildLog
std::optional< std::string > getBuildLog(const StorePath &path)
Definition
log-store.cc:5
src
libstore
log-store.hh
Generated by
1.13.2