feat(3p/nix/proto): Add QueryDerivationOutputNames
Change-Id: I5452d0f76441a61d70031f567c9cb75249569c2a Reviewed-on: https://cl.tvl.fyi/c/depot/+/1201 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
17c0962802
commit
14e9e161c9
1 changed files with 7 additions and 0 deletions
7
third_party/nix/src/proto/worker.proto
vendored
7
third_party/nix/src/proto/worker.proto
vendored
|
@ -62,6 +62,9 @@ service Worker {
|
||||||
|
|
||||||
// TODO: What does this do?
|
// TODO: What does this do?
|
||||||
rpc QueryPathInfo(StorePath) returns (QueryPathInfoResponse);
|
rpc QueryPathInfo(StorePath) returns (QueryPathInfoResponse);
|
||||||
|
|
||||||
|
// Query the output names of the given derivation
|
||||||
|
rpc QueryDerivationOutputNames(StorePath) returns (DerivationOutputNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum HashType {
|
enum HashType {
|
||||||
|
@ -212,3 +215,7 @@ message QueryPathInfoResponse {
|
||||||
// If non-empty, an assertion that the path is content-addressed
|
// If non-empty, an assertion that the path is content-addressed
|
||||||
string ca = 8;
|
string ca = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
message DerivationOutputNames {
|
||||||
|
repeated string names = 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue