Skip to main content

install_interrupt_handler

Function install_interrupt_handler 

Source
pub fn install_interrupt_handler()
Expand description

Route SIGINT through the interrupted flag: in-flight git calls kill their transfers and fail, so cleanup paths run instead of the process dying mid-write with the transfer orphaned.