Skip to main content

remediate_file

Function remediate_file 

Source
pub fn remediate_file(
    path: impl AsRef<Path>,
    options: &FixOptions,
) -> Result<FileFixReport, Error>
Expand description

Remediates a single file on disk.

ยงErrors

Returns io::Error on unreadable file or parse failures.