pub fn get_hook_path(project_dir: &Path, event: HookEvent) -> PathBuf
Get the path to a hook script based on the event and project directory.