Checkout notification flags Checkout will invoke an options notification callback (`CheckoutCallbacks.checkout_notify`) for certain cases - you pick which ones via `CheckoutCallbacks.checkout_notify_flags`.
| 111 | |
| 112 | |
| 113 | class CheckoutNotify(IntFlag): |
| 114 | """ |
| 115 | Checkout notification flags |
| 116 | |
| 117 | Checkout will invoke an options notification callback |
| 118 | (`CheckoutCallbacks.checkout_notify`) for certain cases - you pick which |
| 119 | ones via `CheckoutCallbacks.checkout_notify_flags`. |
| 120 | """ |
| 121 | |
| 122 | NONE = C.GIT_CHECKOUT_NOTIFY_NONE |
| 123 | |
| 124 | CONFLICT = C.GIT_CHECKOUT_NOTIFY_CONFLICT |
| 125 | 'Invokes checkout on conflicting paths.' |
| 126 | |
| 127 | DIRTY = C.GIT_CHECKOUT_NOTIFY_DIRTY |
| 128 | """ |
| 129 | Notifies about "dirty" files, i.e. those that do not need an update |
| 130 | but no longer match the baseline. Core git displays these files when |
| 131 | checkout runs, but won't stop the checkout. |
| 132 | """ |
| 133 | |
| 134 | UPDATED = C.GIT_CHECKOUT_NOTIFY_UPDATED |
| 135 | 'Sends notification for any file changed.' |
| 136 | |
| 137 | UNTRACKED = C.GIT_CHECKOUT_NOTIFY_UNTRACKED |
| 138 | 'Notifies about untracked files.' |
| 139 | |
| 140 | IGNORED = C.GIT_CHECKOUT_NOTIFY_IGNORED |
| 141 | 'Notifies about ignored files.' |
| 142 | |
| 143 | ALL = C.GIT_CHECKOUT_NOTIFY_ALL |
| 144 | |
| 145 | |
| 146 | class CheckoutStrategy(IntFlag): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…