We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949b1c6 commit 12f6c35Copy full SHA for 12f6c35
pygit2/_pygit2.pyi
@@ -1,6 +1,6 @@
1
from typing import Iterator, Literal, Optional, overload
2
from io import IOBase
3
-from . import Index, Submodule
+from . import Index
4
from .enums import (
5
ApplyLocation,
6
BranchType,
@@ -558,7 +558,7 @@ class Worktree:
558
559
def discover_repository(
560
path: str, across_fs: bool = False, ceiling_dirs: str = ...
561
-) -> str: ...
+) -> str | None: ...
562
def hash(data: bytes) -> Oid: ...
563
def hashfile(path: str) -> Oid: ...
564
def init_file_backend(path: str, flags: int = 0) -> object: ...
0 commit comments