Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Extend GetFileNode function to check for unique file nodes
Browse files Browse the repository at this point in the history
This is useful for the command line interfaces to detect the desired node.
  • Loading branch information
GiasemiSh authored and Markus Herpich committed Apr 11, 2019
1 parent fb85aa2 commit 6c4d3b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion controlservice.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ message SwitchPhaseResponse {
string error = 2;
}

message GetFileNodeMessage {
FileNode fileNode = 1;
bool uniqueNode = 2;
}

message StatusMessage {
bool phase = 1;
bool switch = 2;
Expand Down Expand Up @@ -58,7 +63,7 @@ service ControlService {
rpc Quit(QuitMessage) returns (QuitResponse) {}
rpc SwitchPhase(SwitchPhaseMessage) returns (SwitchPhaseResponse) {}
rpc GetPackageNode(PackageNode) returns (PackageNode) {}
rpc GetFileNode(FileNode) returns (stream FileNode) {}
rpc GetFileNode(GetFileNodeMessage) returns (stream FileNode) {}
rpc GetDiagnosticNode(DiagnosticNode) returns (stream DiagnosticNode) {}
rpc Status(StatusMessage) returns (StatusResponse) {}
rpc SubscribeEvents(EventMessage) returns (stream Event) {}
Expand Down

0 comments on commit 6c4d3b2

Please sign in to comment.