1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

BinaryCacheStore: Implement addBuildLog()

This commit is contained in:
Eelco Dolstra 2022-01-18 16:14:01 +01:00
parent 4dda1f92aa
commit 5b243a2b4b
3 changed files with 14 additions and 0 deletions

View file

@ -51,6 +51,7 @@ public:
const std::string & mimeType) = 0;
void upsertFile(const std::string & path,
// FIXME: use std::string_view
std::string && data,
const std::string & mimeType);
@ -120,6 +121,8 @@ public:
std::optional<std::string> getBuildLog(const StorePath & path) override;
void addBuildLog(const StorePath & drvPath, std::string_view log) override;
};
MakeError(NoSuchBinaryCacheFile, Error);