Function tvix_store::composition::with_registry
source ยท pub fn with_registry<R>(reg: &'static Registry, f: impl FnOnce() -> R) -> R
Expand description
Run the provided closure with a registry context. Any serde deserialize calls within the closure will use the registry to resolve tag names to the corresponding Config type.