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:
Griffin Smith 2020-07-15 21:47:25 -04:00 committed by glittershark
parent 17c0962802
commit 14e9e161c9

View file

@ -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;
}