Nix 2.36.0
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
5
6namespace nix {
7
8struct LogStore : public virtual Store
9{
10private:
11 void anchor() override;
12
13public:
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
Definition path.hh:33
Definition log-store.hh:9
std::optional< std::string > getBuildLog(const StorePath &path)
Definition log-store.cc:7