Skip to main content

rewrite_file

Function rewrite_file 

Source
pub fn rewrite_file(
    path: &Path,
    request: &RewriteRequest,
) -> Result<RewriteReport, ApiError>
Expand description

Read a bounded UTF-8 module and return its in-memory replacement plan.

ยงErrors

An I/O API error on unreadable/non-UTF-8 source. Stage failures are reports.