Skip to main content

hooks_splice_refusal

Function hooks_splice_refusal 

Source
pub fn hooks_splice_refusal(target: &Utf8Path) -> Result<(), RkError>
Expand description

The refusal a landing verb answers before writing anything, where the target’s hook file offers the block no place.

Checked ahead of every write so the all-or-nothing property holds and no landing dies half-written into .pre-commit-config.yaml.

§Errors

RkError::Refusal naming the file, and any read failure.