diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/nix/src/proto/worker.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/nix/src/proto/worker.proto b/third_party/nix/src/proto/worker.proto index ad1810b4d569..d983b261c84a 100644 --- a/third_party/nix/src/proto/worker.proto +++ b/third_party/nix/src/proto/worker.proto @@ -82,6 +82,9 @@ service Worker { // Optimise the disk space usage of the Nix store by hard-linking files // with the same contents. rpc OptimiseStore(google.protobuf.Empty) returns (google.protobuf.Empty); + + // Check the integrity of the Nix store + rpc VerifyStore(VerifyStoreRequest) returns (VerifyStoreResponse); } enum HashType { @@ -240,3 +243,14 @@ message DerivationOutputNames { message HashPart { string hash_part = 1; } + +message VerifyStoreRequest { + bool repair = 1; + // TODO(grfn): Remove double-negative + bool dontCheckSigs = 2; +} + +message VerifyStoreResponse { + // True if errors remain (???) + bool errors = 1; +} |