useGit API
    Preparing search index...

    Function hasBinaryChanges

    • Check whether the diff contains binary file changes.

      Parameters

      Returns Promise<boolean>

      true if binary changes are present

      if (await git.hasBinaryChanges()) {
      console.log("Binary file changes present")
      }

      0.2.0