()
| 367 | } |
| 368 | |
| 369 | fn link() -> Result<&'static dyn RemoteSandboxLink, RepositoryError> { |
| 370 | LINK.get() |
| 371 | .map(|l| l.as_ref()) |
| 372 | .ok_or_else(|| RepositoryError::InvalidOperation { |
| 373 | message: "this process can't reach a remote sandbox's owner".to_string(), |
| 374 | }) |
| 375 | } |
| 376 | |
| 377 | /// Marks a cache whose rows moved past its working files (a stale refusal's |
| 378 | /// skeleton was imported); see [`Repository::remote_sandbox_is_behind`]. |
no test coverage detected