Support getting status of entire repository

New Git.getAllStatuses() method returns all non-ignored
status entries in the repository.
This commit is contained in:
Kevin Sawicki
2013-02-27 13:07:57 -08:00
parent 69f79b940b
commit 4add7b6213
4 changed files with 52 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ class Git
getPathStatus: (path) ->
pathStatus = @getRepo().getStatus(@relativize(path))
getAllStatuses: (path) ->
@getRepo().getStatuses()
isPathIgnored: (path) ->
@getRepo().isIgnored(@relativize(path))