gix_path::env

Function core_dir

Source
pub fn core_dir() -> Option<&'static Path>
Expand description

Return the directory obtained by calling git --exec-path.

Returns None if Git could not be found or if it returned an error.