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

Function routes

libatomic/tests/sandbox_service_test.rs:224–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224fn routes() -> &'static Mutex<HashMap<PathBuf, Arc<Route>>> {
225 static ROUTES: OnceLock<Mutex<HashMap<PathBuf, Arc<Route>>>> = OnceLock::new();
226 ROUTES.get_or_init(|| {
227 atomic_repository::set_remote_sandbox_link(Box::new(TestLink));
228 Mutex::default()
229 })
230}
231
232struct TestLink;
233

Callers 2

routeMethod · 0.85
adoptFunction · 0.85

Calls 1

set_remote_sandbox_linkFunction · 0.85

Tested by

no test coverage detected