MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / runtime_cache

Function runtime_cache

src/pglite/base.rs:1691–1700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1689}
1690
1691fn runtime_cache() -> Result<Arc<CachedRuntime>> {
1692 RUNTIME_CACHE
1693 .get_or_init(|| {
1694 build_runtime_cache()
1695 .map(Arc::new)
1696 .map_err(|err| format!("{err:#}"))
1697 })
1698 .clone()
1699 .map_err(|message| anyhow!(message))
1700}
1701
1702pub(crate) fn shared_runtime_overlay_enabled() -> bool {
1703 true

Callers 2

preload_runtime_moduleFunction · 0.85
prepare_runtime_layoutFunction · 0.85

Calls 1

build_runtime_cacheFunction · 0.85

Tested by

no test coverage detected