Skip to main content

splice_block

Function splice_block 

Source
pub fn splice_block(existing: Option<&str>) -> String
Expand description

The whole AGENTS.md content after splicing the block.

A fresh file where none exists, the block replaced in place where one is marked, appended after the target’s own content otherwise — release-kit owns the lines inside the markers, not the document.