Base protocol refactor complete
parent: tbd commit: 079d544
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | use Error; |
8 | use async_trait; |
9 | use Value; |
10 | |
11 | use crate GitBackendError; |
12 | use |
13 | |
14 | , | UserAuthenticationToken
15 | , | Instance
16 | |
17 | IssueLabel, Repository, RepositoryIssue, RepositorySummary, RepositoryTreeEntry, |
18 | , |
19 | , | AnySetting
20 | , | User
21 | , |
22 | |
23 | , |
24 | |
25 | RepositoryFileInspectRequest, RepositoryIssueLabelsRequest, |
26 | RepositoryIssuesCountRequest, RepositoryIssuesRequest, |
27 | , |
28 | , |
29 | , | AnyValue
30 | ; |
31 | |
32 | |
33 | |
34 | async |
35 | &mut self, |
36 | user: &User, |
37 | request: &RepositoryCreateRequest, |
38 | ; |
39 | async |
40 | &mut self, |
41 | requester: , |
42 | request: &RepositoryFileInspectRequest, |
43 | ; |
44 | async |
45 | &mut self, |
46 | requester: , |
47 | user: &User, |
48 | ; |
49 | async |
50 | &mut self, |
51 | user: &Repository, |
52 | name: &str, |
53 | ; |
54 | async ; |
55 | async |
56 | &mut self, |
57 | user: &Repository, |
58 | name: &str, |
59 | setting: &Value, |
60 | ; |
61 | async ; |
62 | |
63 | |
64 | |
65 | |
66 | &mut self, |
67 | requester: , |
68 | request: &RepositoryIssuesCountRequest, |
69 | ; |
70 | |
71 | &mut self, |
72 | requester: , |
73 | request: &RepositoryIssueLabelsRequest, |
74 | ; |
75 | |
76 | &mut self, |
77 | requester: , |
78 | request: &RepositoryIssuesRequest, |
79 | ; |
80 | |
81 | |
82 | |
83 | |
84 | async |
85 | &mut self, |
86 | request: RegisterAccountRequest, |
87 | ; |
88 | |
89 | async |
90 | &mut self, |
91 | source: &Instance, |
92 | request: AuthenticationTokenRequest, |
93 | ; |
94 | |
95 | |
96 | |
97 | |
98 | async ; |
99 | async ; |
100 | async |
101 | &mut self, |
102 | user: &User, |
103 | name: &str, |
104 | setting: &Value, |
105 | ; |
106 | async ; |
107 | |
108 | |
109 | |
110 | |
111 | async ; |
112 | async |
113 | &mut self, |
114 | user: &User, |
115 | name: &str, |
116 | setting: AnySetting, |
117 | ; |
118 | async |
119 | &mut self, |
120 | repository: &Repository, |
121 | name: &str, |
122 | ; |
123 | async |
124 | &mut self, |
125 | repository: &Repository, |
126 | name: &str, |
127 | setting: AnySetting, |
128 | ; |
129 | |
130 |