pub fn install(path: &Path) -> Result<()>Expand description
Upsert the managed block into the file at path: create the file when
absent, append when no marker is present, otherwise replace only the region
between the markers. A current block is a byte-identical no-op. A begin marker
with no matching end marker is a damaged block — install refuses it rather
than appending and orphaning the marker.