Skip to main content

install_copilot_hook

Function install_copilot_hook 

Source
pub fn install_copilot_hook(sqz_path: &str) -> Result<Option<bool>>
Expand description

Install the Copilot CLI hook file. Returns Ok(None) when Copilot CLI is not installed (no ~/.copilot directory), Ok(Some(changed)) otherwise. Refreshes the file in place when the content is stale.