diff options
author | Yobmod <yobmod@gmail.com> | 2021-05-18 13:11:25 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-05-18 13:11:25 +0100 |
commit | 11837f61aa4b5c286c6ee9870e23a7ee342858c5 (patch) | |
tree | e820831d1ee7bf6f060a6c8b2c226c807ebd34a5 /git/index | |
parent | c30bf3ba7548a0e996907b9a097ec322760eb43a (diff) | |
download | gitpython-11837f61aa4b5c286c6ee9870e23a7ee342858c5.tar.gz |
Add types to objects.base.py
Diffstat (limited to 'git/index')
-rw-r--r-- | git/index/fun.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/fun.py b/git/index/fun.py index f40928c3..96d9b475 100644 --- a/git/index/fun.py +++ b/git/index/fun.py @@ -108,7 +108,7 @@ def run_commit_hook(name: str, index: 'IndexFile', *args: str) -> None: # end handle return code -def stat_mode_to_index_mode(mode): +def stat_mode_to_index_mode(mode: int) -> int: """Convert the given mode from a stat call to the corresponding index mode and return it""" if S_ISLNK(mode): # symlinks |