forked from livegrep/livegrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.proto
37 lines (32 loc) · 1.32 KB
/
config.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
syntax = "proto3";
message IndexSpec {
string name = 1;
repeated PathSpec paths = 2 [json_name = "fs_paths"];
repeated RepoSpec repositories = 3 [json_name = "repositories"];
}
message Metadata {
string url_pattern = 1 [json_name = "url_pattern"];
string remote = 2 [json_name = "remote"];
string github = 3 [json_name = "github"];
repeated string labels = 4 [json_name = "labels"];
}
message CloneOptions {
int32 depth = 1 [json_name = "depth"];
string username = 2 [json_name = "username"];
string password_env = 3 [json_name = "password_env"];
}
message PathSpec {
string path = 1 [json_name = "path"];
string name = 2 [json_name = "name"];
string ordered_contents = 3 [json_name = "ordered_contents"];
Metadata metadata = 4 [json_name = "metadata"];
bool ignore_symlinks = 5 [json_name = "ignore_symlinks"];
}
message RepoSpec {
string path = 1 [json_name = "path"];
string name = 2 [json_name = "name"];
repeated string revisions = 3 [json_name = "revisions"];
Metadata metadata = 4 [json_name = "metadata"];
bool walk_submodules = 5 [json_name = "walk_submodules"];
CloneOptions clone_options = 6 [json_name = "clone_options"];
}