Skip to main content

PostActivateHook

Type Alias PostActivateHook 

Source
pub type PostActivateHook = Arc<dyn Fn(&Path, &str) -> Result<()> + Send + Sync>;
Expand description

Hook fired after a successful clone or update. Receives the absolute path to the cloned repo and the org/repo name. Errors are logged but don’t abort the activation — the repo is still registered as active.

Aliased Type§

pub struct PostActivateHook { /* private fields */ }