feat(3p/nix): Implement a few more RPC calls
Implement the RPC client calls for QueryPathFromHashPart, QuerySubstitutablePaths, and QuerySubstitutablePathInfos, and the handler for QuerySubstitutablePathInfos. Refs: #29 Change-Id: Idf383b771f159f267d8f65367bc4af3d239e32b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1515 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
ee48e830e6
commit
3fdce7c6be
3 changed files with 59 additions and 3 deletions
2
third_party/nix/src/proto/worker.proto
vendored
2
third_party/nix/src/proto/worker.proto
vendored
|
|
@ -246,11 +246,13 @@ message CollectGarbageResponse {
|
|||
}
|
||||
|
||||
message PathInfo {
|
||||
StorePath path = 10;
|
||||
bool is_valid = 9;
|
||||
StorePath deriver = 1;
|
||||
bytes nar_hash = 2;
|
||||
repeated string references = 3;
|
||||
google.protobuf.Timestamp registration_time = 4;
|
||||
uint64 download_size = 11;
|
||||
uint64 nar_size = 5;
|
||||
// Whether the path is ultimately trusted, that is, it's a derivation
|
||||
// output that was built locally.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue