Skip to content

Commit 7026e16

Browse files
committed
docs(git): Code comment updates
1 parent 385153a commit 7026e16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libvcs/git.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def extract_status(value):
4444
"""Returns ``git status -sb --porcelain=2`` extracted to a dict
4545
4646
:returns: Dictionary of git repo's status
47-
:rtype: str
47+
:rtype: dict
4848
"""
4949
pattern = re.compile(
5050
r"""[\n\r]?
@@ -532,6 +532,9 @@ def status(self):
532532
"branch_ahead": '0',
533533
"branch_behind": '0',
534534
}
535+
536+
:returns: Status of current checked out repository
537+
:rtype: dict
535538
"""
536539
return extract_status(self.run(['status', '-sb', '--porcelain=2']))
537540

0 commit comments

Comments
 (0)