Skip to main content

set_smudge_progress

Function set_smudge_progress 

Source
pub fn set_smudge_progress(callback: Arc<SmudgeProgressCallback>)
Expand description

Set a callback to receive per-file smudge progress during checkout. Resets the internal counter to 0.

Uses thread-local storage, so each spawn_blocking thread gets its own independent hook. Safe for concurrent checkouts.