Skip to main content

write_destination

Function write_destination 

Source
pub fn write_destination(target: &Utf8Path, entry: &Entry) -> Result<()>
Expand description

Land one entry: the whole file through the temp-plus-rename writer, or the block spliced into AGENTS.md and the whole document rewritten the same way.

ยงErrors

Any write failure; the destination then holds what it held.