@ac-essentials/app-util
    Preparing search index...

    Function findRepoGitDir

    • Finds the .git directory by looking in the specified directory and its parents.

      Parameters

      • fromDir: string

        The directory to start searching from.

      • Optionaloptions: FindRepoGitDirOptions

        Options for finding the git directory.

      Returns Promise<null | string>

      The path to the .git directory, or null if not found.