Unified stack refactor clean up
Clean up obsolete code and some warnings
parent: tbd commit: 356f714
1 | |
2 | |
3 | |
4 | use Arc; |
5 | |
6 | use OperationError; |
7 | use Instance; |
8 | use ; |
9 | use ObjectBackend; |
10 | use GiteratedOperation; |
11 | use ; |
12 | use ; |
13 | use RuntimeBuilder; |
14 | use StackOperationState; |
15 | use Debug; |
16 | use Mutex; |
17 | |
18 | use crate; |
19 | |
20 | use |
21 | instance_authentication_request, instance_create_repository_request, |
22 | instance_registration_request, repository_commit_before, repository_diff, |
23 | repository_diff_patch, repository_file_from_id, repository_file_from_path, |
24 | repository_get_value_description, repository_get_value_visibility, repository_info, |
25 | user_get_value_bio, user_get_value_display_name, |
26 | ; |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | async |
34 | &self, |
35 | _object: O, |
36 | _operation: &str, |
37 | _payload: D, |
38 | _operation_state: &StackOperationState, |
39 | |
40 | // We don't handle operations with this backend |
41 | Err |
42 | |
43 | |
44 | async |
45 | &self, |
46 | _object_str: &str, |
47 | _operation_state: &StackOperationState, |
48 | |
49 | Err |
50 | |
51 | |
52 | |
53 | /// A backend implementation which attempts to resolve data from the instance's database. |
54 | |
55 | |
56 | |
57 | pub(self) our_instance: Instance, |
58 | pub(self) user_backend: , |
59 | pub(self) repository_backend: , |
60 | |
61 | |
62 | |
63 | |
64 | instance: Instance, |
65 | user_backend: , |
66 | repository_backend: , |
67 | |
68 | Self |
69 | our_instance: instance, |
70 | user_backend, |
71 | repository_backend, |
72 | |
73 | |
74 | |
75 | |
76 | let mut builder = new; |
77 | |
78 | builder |
79 | . |
80 | . |
81 | .; |
82 | |
83 | builder |
84 | . |
85 | . |
86 | . |
87 | . |
88 | .; |
89 | |
90 | builder |
91 | .value |
92 | .value |
93 | .value |
94 | .value; |
95 | |
96 | builder |
97 | .operation |
98 | .operation |
99 | .operation |
100 | .operation |
101 | .operation |
102 | .operation |
103 | .operation |
104 | .operation |
105 | .operation; |
106 | |
107 | builder |
108 | |
109 | |
110 | |
111 | |
112 | |
113 | f.debug_struct .finish |
114 | |
115 | |
116 |