Skip to main content

clean

Function clean 

Source
pub fn clean(content: &str) -> Result<CleanOutcome>
Expand description

Archive every DONE comment in content, returning the rewritten file.

When the file has no machine region or no DONE comments, the content is returned byte-for-byte unchanged.

ยงErrors

Returns crate::error::Error::Sexp when the existing ** Sync State block is present but malformed.