![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Attributes | |
| bool | cached = false |
| std::string | etag |
| std::vector< std::string > | urls |
| std::string | data |
| uint64_t | bodySize = 0 |
| std::optional< std::string > | immutableUrl |
| bool nix::FileTransferResult::cached = false |
Whether this is a cache hit (i.e. the ETag supplied in the request is still valid). If so, data is empty.
| std::string nix::FileTransferResult::data |
The response body.
| std::string nix::FileTransferResult::etag |
The ETag of the object.
| std::optional<std::string> nix::FileTransferResult::immutableUrl |
An "immutable" URL for this resource (i.e. one whose contents will never change), as returned by the Link: <url>; rel="immutable" header.
| std::vector<std::string> nix::FileTransferResult::urls |
All URLs visited in the redirect chain.