Skip to main content

hooks_file_defect

Function hooks_file_defect 

Source
pub fn hooks_file_defect(target: &Utf8Path) -> Result<Option<String>>
Expand description

The hook file’s defect, read from the target: None for a missing file or one the block can land in.

The one judgment every verb shares, covering every splice refusal — ill-formed markers, and an unmarked file offering the block no repos: line. Status reports it as rendered drift, upgrade collects it as a conflict in preview and apply alike so no landing dies half-written, and adopt lists it with its mismatches.

§Errors

Any read failure other than the file being absent.