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 68c5968 commit 3035d9cCopy full SHA for 3035d9c
vdirsyncer/utils.py
@@ -108,9 +108,8 @@ class can take, and ``required`` is the subset of arguments the class
108
return all, required
109
110
111
-def checkdir(path, create=False, mode=0o750):
112
- """
113
- Check whether ``path`` is a directory.
+def checkdir(path: str, create: bool = False, mode: int = 0o750) -> bool:
+ """Check whether ``path`` is a directory.
114
115
:param create: Whether to create the directory (and all parent directories)
116
if it does not exist.
0 commit comments