Skip to content

statuses

Gather file status information and populate the returned structure.

Note that if a pathspec is given in the options to filter the status, then the results from rename detection (if you enable it) may not be accurate. To do rename detection properly, this must be called with no pathspec so that all files can be considered.

Signature

ts
class Repository {
  statuses(): Statuses;
}

Returns

  • Statuses

    A container for a list of status information about a repository.

Released under the MIT License.