Add total amount of branches after filter
parent: tbd commit: c29b3b8
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | use Error; |
8 | use async_trait; |
9 | use AuthenticatedUser; |
10 | use Value; |
11 | |
12 | use crate GitBackendError; |
13 | use UserAuthenticationToken; |
14 | |
15 | use |
16 | AuthenticationTokenRequest, Instance, RegisterAccountRequest, RepositoryCreateRequest, |
17 | ; |
18 | |
19 | use |
20 | Commit, IssueLabel, Repository, RepositoryBranch, RepositoryBranchesRequest, |
21 | RepositoryCommitBeforeRequest, RepositoryCommitFromIdRequest, RepositoryDiff, |
22 | RepositoryDiffPatchRequest, RepositoryDiffRequest, RepositoryFile, RepositoryFileFromIdRequest, |
23 | RepositoryFileFromPathRequest, RepositoryFileInspectRequest, RepositoryIssue, |
24 | RepositoryIssueLabelsRequest, RepositoryIssuesCountRequest, RepositoryIssuesRequest, |
25 | RepositoryLastCommitOfFileRequest, RepositoryStatistics, RepositoryStatisticsRequest, |
26 | RepositorySummary, RepositoryTreeEntry, |
27 | ; |
28 | |
29 | use User; |
30 | |
31 | |
32 | |
33 | async |
34 | &mut self, |
35 | user: &AuthenticatedUser, |
36 | request: &RepositoryCreateRequest, |
37 | ; |
38 | async |
39 | &mut self, |
40 | requester: & , |
41 | repository: &Repository, |
42 | request: &RepositoryFileInspectRequest, |
43 | ; |
44 | async |
45 | &mut self, |
46 | requester: & , |
47 | repository: &Repository, |
48 | request: &RepositoryFileFromIdRequest, |
49 | ; |
50 | async |
51 | &mut self, |
52 | requester: & , |
53 | repository: &Repository, |
54 | request: &RepositoryFileFromPathRequest, |
55 | ; |
56 | async |
57 | &mut self, |
58 | requester: & , |
59 | repository: &Repository, |
60 | request: &RepositoryCommitFromIdRequest, |
61 | ; |
62 | async |
63 | &mut self, |
64 | requester: & , |
65 | repository: &Repository, |
66 | request: &RepositoryLastCommitOfFileRequest, |
67 | ; |
68 | async |
69 | &mut self, |
70 | requester: & , |
71 | repository: &Repository, |
72 | request: &RepositoryDiffRequest, |
73 | ; |
74 | async |
75 | &mut self, |
76 | requester: & , |
77 | repository: &Repository, |
78 | request: &RepositoryDiffPatchRequest, |
79 | ; |
80 | async |
81 | &mut self, |
82 | requester: & , |
83 | repository: &Repository, |
84 | request: &RepositoryCommitBeforeRequest, |
85 | ; |
86 | async |
87 | &mut self, |
88 | requester: & , |
89 | repository: &Repository, |
90 | request: &RepositoryStatisticsRequest, |
91 | ; |
92 | async |
93 | &mut self, |
94 | requester: & , |
95 | repository: &Repository, |
96 | request: &RepositoryBranchesRequest, |
97 | ; |
98 | async |
99 | &mut self, |
100 | requester: & , |
101 | repository: &Repository, |
102 | ; |
103 | |
104 | |
105 | |
106 | |
107 | &mut self, |
108 | requester: & , |
109 | request: &RepositoryIssuesCountRequest, |
110 | ; |
111 | |
112 | &mut self, |
113 | requester: & , |
114 | request: &RepositoryIssueLabelsRequest, |
115 | ; |
116 | |
117 | &mut self, |
118 | requester: & , |
119 | request: &RepositoryIssuesRequest, |
120 | ; |
121 | |
122 | |
123 | |
124 | |
125 | async |
126 | &mut self, |
127 | request: RegisterAccountRequest, |
128 | ; |
129 | |
130 | async |
131 | &mut self, |
132 | source: &Instance, |
133 | request: AuthenticationTokenRequest, |
134 | ; |
135 | |
136 | |
137 | |
138 | |
139 | async ; |
140 | async |
141 | &mut self, |
142 | requester: & , |
143 | user: &User, |
144 | ; |
145 | |
146 | |
147 | |
148 | |
149 | async ; |
150 | async ; |
151 | async |
152 | ; |
153 | async |
154 | &mut self, |
155 | repository: &Repository, |
156 | name: &str, |
157 | setting: Value, |
158 | ; |
159 | |
160 |