useGit API
    Preparing search index...

    Function diffWorkingTree

    • Show changes in the working tree compared to the index.

      Parameters

      • this: useGit API
      • Optionalpaths: readonly string[]

        Optional paths to limit the diff output.

      Returns Promise<string>

      await git.diffWorkingTree()
      await git.diffWorkingTree(["src"])

      0.2.0