summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/util.py')
-rw-r--r--git/util.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/git/util.py b/git/util.py
index d1ea4c10..30018310 100644
--- a/git/util.py
+++ b/git/util.py
@@ -281,16 +281,6 @@ _cygpath_parsers = (
) # type: Tuple[Tuple[Pattern[str], Callable, bool], ...]
-@overload
-def cygpath(path: str) -> str:
- ...
-
-
-@overload
-def cygpath(path: PathLike) -> PathLike:
- ...
-
-
def cygpath(path: PathLike) -> PathLike:
"""Use :meth:`git.cmd.Git.polish_url()` instead, that works on any environment."""
path = str(path) # ensure is str and not AnyPath.