pub fn run_hook_scan(scan_all: bool) -> Result<()>
Run a one-off scan of staged files (or the entire working tree if scan_all is true) for secrets and sensitive patterns.
scan_all