Install the link, once per process. Harmless outside a remote sandbox: it is only ever called by a remote sandbox's cache.
()
| 365 | /// Install the link, once per process. Harmless outside a remote sandbox: |
| 366 | /// it is only ever called by a remote sandbox's cache. |
| 367 | pub fn install_link() { |
| 368 | static INSTALLED: OnceLock<()> = OnceLock::new(); |
| 369 | INSTALLED.get_or_init(|| atomic_repository::set_remote_sandbox_link(Box::new(CliLink))); |
| 370 | } |
| 371 | |
| 372 | /// `atomic sandbox materialize` inside a remote sandbox: write the view's |
| 373 | /// tree into `root` and (re)make its cache. Returns the number of entries |
no test coverage detected