Function git_tempfile::force_setup
source · [−]pub fn force_setup(mode: SignalHandlerMode)
Expand description
Explicitly (instead of lazily) initialize signal handlers and other state to keep track of tempfiles.
Only has an effect the first time it is called and furthermore allows to set the mode
in which signal handlers
are installed.
This is required if the application wants to install their own signal handlers after the ones defined here.