Skip to main content

write_files_with

Function write_files_with 

Source
pub fn write_files_with(
    files: &[KtFile],
    kotlin_root: &Path,
    policy: &ValidationPolicy,
) -> Result<(Vec<PathBuf>, Vec<Diagnostic>), WriteKotlinError>
Expand description

write_files with per-check severities, also returning the diagnostics that did not stop generation. Nothing is written when any check errors.