MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / link

Function link

atomic-repository/src/repository/remote_cache.rs:369–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369fn 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`].

Calls 2

as_refMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected