(&self, root: &Path, inodes: Vec<u64>)
| 189 | |
| 190 | impl RemoteSandboxLink for CliLink { |
| 191 | fn file_states(&self, root: &Path, inodes: Vec<u64>) -> Result<SandboxSlice, String> { |
| 192 | exchange(root, move |repository, target, channel| async move { |
| 193 | let response = sandbox_client(channel) |
| 194 | .get_file_states(pb::GetFileStatesRequest { |
| 195 | repository: Some(repository), |
| 196 | inodes, |
| 197 | target: Some(target), |
| 198 | expected_snapshot: None, |
| 199 | }) |
| 200 | .await |
| 201 | .map_err(refused)? |
| 202 | .into_inner(); |
| 203 | wire::slice_from_proto(&response.slice.ok_or("no slice in GetFileStates")?) |
| 204 | }) |
| 205 | } |
| 206 | |
| 207 | fn submit( |
| 208 | &self, |
no test coverage detected