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. Legacy callback activations are serialized through summary generation. Errors abort publication of the framework’s new active source state; use ActivationTransactionHook when downstream product installation must also be deferred until commit.

Aliased Type§

pub struct PostActivateHook { /* private fields */ }