[][src]Function cargo_sync_readme::transform_readme

pub fn transform_readme<C, R>(
    content: C,
    doc: R,
    crlf: bool
) -> Result<String, TransformError> where
    C: AsRef<str>,
    R: AsRef<str>, 

Transform a readme file and return its content with the documentation injected, if any.

Perform any required other transformations if asked by the user.