|
| operator ServeProto::ReadConn () |
|
| operator ServeProto::WriteConn () |
|
StorePathSet | queryValidPaths (const StoreDirConfig &remoteStore, bool lock, const StorePathSet &paths, SubstituteFlag maybeSubstitute) |
|
std::map< StorePath, UnkeyedValidPathInfo > | queryPathInfos (const StoreDirConfig &store, const StorePathSet &paths) |
|
void | putBuildDerivationRequest (const StoreDirConfig &store, const StorePath &drvPath, const BasicDerivation &drv, const ServeProto::BuildOptions &options) |
|
BuildResult | getBuildDerivationResponse (const StoreDirConfig &store) |
|
void | narFromPath (const StoreDirConfig &store, const StorePath &path, std::function< void(Source &)> fun) |
|
void | importPaths (const StoreDirConfig &store, std::function< void(Sink &)> fun) |
|
◆ getBuildDerivationResponse()
Get the response, must be paired with putBuildDerivationRequest
.
◆ handshake()
Establishes connection, negotiating version.
- Returns
- the version provided by the other side of the connection.
- Parameters
-
to | Taken by reference to allow for various error handling mechanisms. |
from | Taken by reference to allow for various error handling mechanisms. |
localVersion | Our version which is sent over |
host | Just used to add context to thrown exceptions. |
◆ operator ServeProto::ReadConn()
◆ operator ServeProto::WriteConn()
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/serve-protocol-connection.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/serve-protocol-connection.cc