ts-repo-utils
    Preparing search index...

    Function getStagedFiles

    • Get files that are staged for commit (files added with git add). Runs git diff --staged --name-only [--diff-filter=d]

      Parameters

      • Optionaloptions: Readonly<{ excludeDeleted?: boolean; silent?: boolean }>

      Returns Promise<
          Result<readonly string[], ExecException | Readonly<{ message: string }>>,
      >