File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ from .enums import (
4343)
4444from .filter import Filter
4545
46-
4746LIBGIT2_VER_MAJOR : int
4847LIBGIT2_VER_MINOR : int
4948LIBGIT2_VER_REVISION : int
@@ -280,9 +279,7 @@ class _ObjectBase(Generic[_T]):
280279 self , target_type : 'Literal[ObjectType.TREE] | Type[Tree]' , /
281280 ) -> 'Tree' : ...
282281 @overload
283- def peel (
284- self , target_type : 'Literal[ObjectType.TAG] | Type[Tag]' , /
285- ) -> 'Tag' : ...
282+ def peel (self , target_type : 'Literal[ObjectType.TAG] | Type[Tag]' , / ) -> 'Tag' : ...
286283 @overload
287284 def peel (
288285 self , target_type : 'Literal[ObjectType.BLOB] | Type[Blob]' , /
@@ -379,8 +376,6 @@ class Branch(Reference): # type: ignore[misc]
379376 def is_head (self ) -> bool : ...
380377 def rename (self , name : str , force : bool = False ) -> 'Branch' : ... # type: ignore[override]
381378
382-
383-
384379@final
385380class Commit (_ObjectBase [GitCommitC ]):
386381 _pointer : _Pointer [GitCommitC ]
@@ -626,7 +621,6 @@ class _StrArray:
626621 # incomplete
627622 count : int
628623
629-
630624class _LsRemotesDict (TypedDict ):
631625 local : bool
632626 loid : Oid | None
You can’t perform that action at this time.
0 commit comments