(&self, root: &Path, inodes: Vec<u64>)
| 249 | |
| 250 | impl RemoteSandboxLink for TestLink { |
| 251 | fn file_states(&self, root: &Path, inodes: Vec<u64>) -> Result<SandboxSlice, String> { |
| 252 | let route = Self::route(root)?; |
| 253 | let service = SandboxImpl { |
| 254 | state: Arc::clone(&route.state), |
| 255 | }; |
| 256 | let response = route |
| 257 | .rt |
| 258 | .block_on(service.get_file_states(with_token( |
| 259 | GetFileStatesRequest { |
| 260 | repository: Some(route.repository.clone()), |
| 261 | inodes, |
| 262 | target: None, |
| 263 | expected_snapshot: None, |
| 264 | }, |
| 265 | &route.token, |
| 266 | ))) |
| 267 | .map_err(status_text)? |
| 268 | .into_inner(); |
| 269 | wire::slice_from_proto(&response.slice.ok_or("no slice")?) |
| 270 | } |
| 271 | |
| 272 | fn submit( |
| 273 | &self, |
nothing calls this directly
no test coverage detected