|
Nix 2.31.5
Nix, the purely functional package manager; unstable internal interfaces
|
Public Types | |
| using | Config = HttpBinaryCacheStoreConfig |
Public Member Functions | |
| HttpBinaryCacheStore (ref< Config > config) | |
| void | init () override |
Public Attributes | |
| ref< Config > | config |
Protected Member Functions | |
| void | maybeDisable () |
| void | checkEnabled () |
| bool | fileExists (const std::string &path) override |
| void | upsertFile (const std::string &path, std::shared_ptr< std::basic_iostream< char > > istream, const std::string &mimeType) override |
| FileTransferRequest | makeRequest (const std::string &path) |
| void | getFile (const std::string &path, Sink &sink) override |
| void | getFile (const std::string &path, Callback< std::optional< std::string > > callback) noexcept override |
| std::optional< std::string > | getNixCacheInfo () override |
| std::optional< TrustedFlag > | isTrustedClient () override |
|
inlineoverrideprotected |
This isn't actually necessary read only. We support "upsert" now, so we have a notion of authentication via HTTP POST/PUT.
For now, we conservatively say we don't know.