mirror of
https://github.com/harness/drone.git
synced 2025-05-04 23:09:34 +08:00
22 lines
487 B
Protocol Buffer
22 lines
487 B
Protocol Buffer
syntax = "proto3";
|
|
package rpc;
|
|
|
|
option go_package = "github.com/harness/gitness/gitrpc/rpc";
|
|
|
|
import "shared.proto";
|
|
|
|
// DiffService is a service which provides RPCs to inspect differences
|
|
// introduced between a set of commits.
|
|
service DiffService {
|
|
rpc RawDiff(RawDiffRequest) returns (stream RawDiffResponse) {}
|
|
}
|
|
|
|
message RawDiffRequest {
|
|
ReadRequest base = 1;
|
|
string left_commit_id = 2;
|
|
string right_commit_id = 3;
|
|
}
|
|
|
|
message RawDiffResponse {
|
|
bytes data = 1;
|
|
} |