Skip to main content

resolve_real_git

Function resolve_real_git 

Source
pub fn resolve_real_git(
    inputs: &ResolutionInputs,
) -> Result<PathBuf, RealGitNotFound>
Expand description

What: Select the first candidate that is real Git. Result<PathBuf, RealGitNotFound> is the selected path or the typed failure. Why: Wrappers are skipped and counted, unusable entries are skipped, and the first remaining candidate in priority order is forwarded to.

In TS you’d write (pseudocode):

function resolveRealGit(inputs: ResolutionInputs): string;