pub type Notify<'a> = dyn FnMut(CheckoutNotificationType, Option<&Path>, Option<DiffFile<'_>>, Option<DiffFile<'_>>, Option<DiffFile<'_>>) -> bool + 'a;
Expand description
Checkout notifications callback.
The first argument is the notification type, the next is the path for the the notification, followed by the baseline diff, target diff, and workdir diff.
The callback must return a bool specifying whether the checkout should continue.