mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Support getting status of entire repository
New Git.getAllStatuses() method returns all non-ignored status entries in the repository.
This commit is contained in:
@@ -54,6 +54,9 @@ class Git
|
||||
getPathStatus: (path) ->
|
||||
pathStatus = @getRepo().getStatus(@relativize(path))
|
||||
|
||||
getAllStatuses: (path) ->
|
||||
@getRepo().getStatuses()
|
||||
|
||||
isPathIgnored: (path) ->
|
||||
@getRepo().isIgnored(@relativize(path))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user