Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
muhqu committed Feb 13, 2023
1 parent 2ea793b commit 046305c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygit2/_pygit2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ class Repository:
def expand_id(self, hex: str) -> Oid: ...
def free(self) -> None: ...
def git_object_lookup_prefix(self, oid: _OidArg) -> Object: ...
def hashfile(self, path: str) -> Oid: ...
def init_submodules(self, submodules: list[Submodule] = None, overwrite = False) -> None: ...
def list_worktrees(self) -> list[str]: ...
def listall_branches(self, flag: int = GIT_BRANCH_LOCAL) -> list[str]: ...
Expand Down

0 comments on commit 046305c

Please sign in to comment.