Skip to main content

ask_git_version

Function ask_git_version 

Source
pub fn ask_git_version(context: &GitContext) -> Result<(u64, u64, u64), String>
Expand description

What: Ask Git its version and decide support, without the cache. Why: check_git_version remembers this answer.

In TS you’d write (pseudocode):

async function askGitVersion(gitPath): Promise<[number, number, number]>;