about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-16T01·23-0400
committerglittershark <grfn@gws.fyi>2020-07-16T01·51+0000
commit150e2bc908955c55a9ff13445006c8d18e75ced2 (patch)
tree6de410518124349f3735b035c93cce40085137f4
parent622250bff9062cd89f722a275aba3f59ad8c0b51 (diff)
feat(3p/nix/worker.proto): Add QueryAllValidPaths r/1312
takes nothing, returns paths

Change-Id: I4087b9b5a25d9edc76b97d0a0f553259693cca3a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1187
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
-rw-r--r--third_party/nix/src/proto/worker.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto
index 3199f0d382..ec4e062a05 100644
--- a/third_party/nix/src/proto/worker.proto
+++ b/third_party/nix/src/proto/worker.proto
@@ -55,6 +55,9 @@ service Worker {
 
   // TODO: What does this do?
   rpc QueryDerivationOutputs(StorePath) returns (StorePaths);
+
+  // Query all valid paths in the store
+  rpc QueryAllValidPaths(google.protobuf.Empty) returns (StorePaths);
 }
 
 enum HashType {