Mint a token for `view` (as the local admin).
(&self, view: &str, capabilities: &[&str])
| 158 | |
| 159 | /// Mint a token for `view` (as the local admin). |
| 160 | fn open(&self, view: &str, capabilities: &[&str]) -> SandboxOpened { |
| 161 | self.rt |
| 162 | .block_on(self.service().open_sandbox(Request::new(self.open_request( |
| 163 | view, |
| 164 | capabilities, |
| 165 | 600, |
| 166 | )))) |
| 167 | .unwrap() |
| 168 | .into_inner() |
| 169 | .opened |
| 170 | .unwrap() |
| 171 | } |
| 172 | |
| 173 | fn tree(&self, view: &str) -> BTreeMap<String, String> { |
| 174 | self.with_repo(|repo| { |
no test coverage detected