pub fn hook_is_current(auths_home: &Path) -> boolExpand description
Whether both managed hook files exist with the current script content.
Covers prepare-commit-msg and pre-push: a stale or missing pre-push
means the signer’s KEL never reaches the remote, which auths doctor should
surface as an actionable “re-run auths init” rather than a silent gap.
Args:
auths_home: The auths data directory.
Usage:
ⓘ
if !hook_is_current(&auths_home) { /* doctor: re-run auths init */ }