feat(3p/nix): Add QueryPathFromHashPart
Change-Id: I0a31557f4cf585d3e539e29ef1a07b443aeec9fc Reviewed-on: https://cl.tvl.fyi/c/depot/+/1202 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
d470ec0d29
commit
863a77dd2a
1 changed files with 19 additions and 12 deletions
7
third_party/nix/src/proto/worker.proto
vendored
7
third_party/nix/src/proto/worker.proto
vendored
|
|
@ -65,6 +65,9 @@ service Worker {
|
||||||
|
|
||||||
// Query the output names of the given derivation
|
// Query the output names of the given derivation
|
||||||
rpc QueryDerivationOutputNames(StorePath) returns (DerivationOutputNames);
|
rpc QueryDerivationOutputNames(StorePath) returns (DerivationOutputNames);
|
||||||
|
|
||||||
|
// TODO: What is a HashPart?
|
||||||
|
rpc QueryPathFromHashPart(HashPart) returns (StorePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum HashType {
|
enum HashType {
|
||||||
|
|
@ -219,3 +222,7 @@ message QueryPathInfoResponse {
|
||||||
message DerivationOutputNames {
|
message DerivationOutputNames {
|
||||||
repeated string names = 1;
|
repeated string names = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message HashPart {
|
||||||
|
string hash_part = 1;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue