Skip to content

Commit 49bc71b

Browse files
committed
add FilterSource
1 parent 4b3878b commit 49bc71b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pygit2/_pygit2.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ from .enums import (
1111
DiffOption,
1212
DiffStatsFormat,
1313
FileMode,
14+
FilterFlag,
15+
FilterMode,
1416
MergeAnalysis,
1517
MergePreference,
1618
ObjectType,
@@ -803,6 +805,14 @@ class Worktree:
803805
path: str
804806
def prune(self, force: bool = False) -> None: ...
805807

808+
class FilterSource:
809+
filemode: int
810+
flags: FilterFlag
811+
mode: FilterMode
812+
oid: Oid | None
813+
path: str
814+
repo: Repository
815+
806816
def discover_repository(
807817
path: str, across_fs: bool = False, ceiling_dirs: str = ...
808818
) -> str | None: ...

0 commit comments

Comments
 (0)