Skip to main content

splice

Function splice 

Source
pub fn splice(
    manifest: &str,
    label: &str,
    id: &str,
    rows: &[String],
) -> Result<String, String>
Expand description

manifest with this source’s block replaced, or appended if it has none.

Markers are searched INDEPENDENTLY, like agents_md::block_range does, so a file carrying one without the other is reported rather than silently half-rewritten.