Skip to main content

refresh_generated_fixtures

Function refresh_generated_fixtures 

Source
pub fn refresh_generated_fixtures(
    project_root: &Path,
    config: &Config,
) -> Result<GenerationResult, GenerationError>
Expand description

Discovers fixture files and atomically refreshes the generated Rust imports when needed.

ยงErrors

Returns an error when discovery or generated-file IO fails.