Skip to main content

older_git_warning

Function older_git_warning 

Source
pub fn older_git_warning(
    context: &GitContext,
    release: GitRelease,
) -> Option<String>
Expand description

What: The warning for a Git older than the release the wrapper was tested with, or None for that release and every later one. Why: An older Git is not refused; the person learns which Git was found, which release the wrapper was tested with, and that the command continues.

In TS you’d write (pseudocode):

function olderGitWarning(context, release): string | undefined;