Skip to content

Commit

Permalink
backend: Add get query count to sourcegraph (#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
septum committed Aug 23, 2024
1 parent c3c421a commit 81144d6
Show file tree
Hide file tree
Showing 6 changed files with 702 additions and 10 deletions.
8 changes: 8 additions & 0 deletions api/sourcegraph/v1/sourcegraph.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ message Commit {
string message = 3;
string display_name = 4;
}

message GetQueryResultsCountRequest {
string query = 1 [ (validate.rules).string = {min_bytes : 1, ignore_empty : true} ];
}

message GetQueryResultsCountResponse {
uint32 count = 1;
}
148 changes: 138 additions & 10 deletions backend/api/sourcegraph/v1/sourcegraph.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 81144d6

Please sign in to comment.