Skip to main content

container_git_hooks

Function container_git_hooks 

Source
pub fn container_git_hooks() -> Option<PathBuf>
Expand description

The host’s hooks directory when container agents get git and gh through AgentMux: a token source exists (the host’s gh-agent, or the person’s connected GitHub account) and the hooks can be written. Without the hooks there is no setup at all, so a container never gets a token whose pushes aren’t scanned.