pub fn split_patch_input(
text: &str,
opts: Option<SplitOptions>,
) -> Result<Patch, HashlineError>Expand description
Parse text into a Patch. Splits the *** Begin Patch … *** End Patch
envelope into [PATH#HASH] sections and eagerly parses each section’s
edits.
opts.root resolves absolute header paths to a root-relative form; omit it
for paths as-authored.