Function was_patched

Source
pub fn was_patched(patch_output: &Cow<'_, str>) -> bool
Expand description

Returns true if the patch_output was patched by testing whether it is Cow::Owned; a Cow::Borrowed implies it was not patched.