Skip to content

Commit e2067ba

Browse files
saroad2Byron
authored andcommitted
Rename get_ignored to ignored and fix the documentation
1 parent df6fa49 commit e2067ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/repo/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,12 @@ def _get_untracked_files(self, *args, **kwargs):
697697
finalize_process(proc)
698698
return untracked_files
699699

700-
def get_ignored(self, *paths):
700+
def ignored(self, *paths):
701701
"""Checks if paths are ignored via .gitignore
702702
Doing so using the "git check-ignore" method.
703703
704704
:param paths: List of paths to check whether they are ignored or not
705-
:return: sublist of ignored paths
705+
:return: sublist of those paths which are ignored
706706
"""
707707
try:
708708
proc = self.git.check_ignore(*paths)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy