Skip to main content

registered_exe_path

Function registered_exe_path 

Source
pub fn registered_exe_path() -> Option<PathBuf>
Expand description

The binary the installed hooks will actually run, if there are hooks to read.

None means “could not determine”, not “not installed” — state answers that. A hook is deliberately silent (it backgrounds itself and discards its output), so a script left pointing at a deleted directory never reports anything; this is what lets devp doctor say so.