gix_path::env

Function exe_invocation

source
pub fn exe_invocation() -> &'static Path
Expand description

Return the name of the Git executable to invoke it. If it’s in the PATH, it will always be a short name.

Note that on Windows, we will find the executable in the PATH if it exists there, or search it in alternative locations which when found yields the full path to it.