Skip to main content

set_flake_resolver

Function set_flake_resolver 

Source
pub fn set_flake_resolver(resolver: Box<FlakeResolverFn>) -> FlakeResolverGuard
Expand description

Install a flake resolver callback for the current thread.

Returns an RAII guard that restores the previous resolver on drop. This ensures the resolver is always properly cleaned up even when evaluation errors occur.