diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-18 16:14:01 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-01-18 16:14:01 +0100 |
commit | 5b243a2b4bf88f41c87569773af84671ba83e890 (patch) | |
tree | 52b2853d34e963a1452e830c2381a59113ce2f16 /src/libstore/binary-cache-store.hh | |
parent | 4dda1f92aae05dd9d633152458d65a3815bcd03c (diff) |
BinaryCacheStore: Implement addBuildLog()
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r-- | src/libstore/binary-cache-store.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index 46ff67c77..7599230d9 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -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); |