• 判断给定的目录是否为一个 git 仓库

    Parameters

    • rootDir: string = ...
    • useCache: boolean = true

    Returns boolean