massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / filecmp.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/filecmp.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/filecmp.pyi
new file mode 100644 (file)
index 0000000..3053ceb
--- /dev/null
@@ -0,0 +1,48 @@
+# Stubs for filecmp (Python 2/3)\r
+import sys\r
+from typing import AnyStr, Callable, Dict, Generic, Iterable, List, Optional, Sequence, Tuple, Union, Text\r
+\r
+DEFAULT_IGNORES = ...  # type: List[str]\r
+\r
+def cmp(f1: Union[bytes, Text], f2: Union[bytes, Text], shallow: Union[int, bool] = ...) -> bool: ...\r
+def cmpfiles(a: AnyStr, b: AnyStr, common: Iterable[AnyStr],\r
+             shallow: Union[int, bool] = ...) -> Tuple[List[AnyStr], List[AnyStr], List[AnyStr]]: ...\r
+\r
+class dircmp(Generic[AnyStr]):\r
+    def __init__(self, a: AnyStr, b: AnyStr,\r
+                 ignore: Optional[Sequence[AnyStr]] = ...,\r
+                 hide: Optional[Sequence[AnyStr]] = ...) -> None: ...\r
+\r
+    left = ...  # type: AnyStr\r
+    right = ...  # type: AnyStr\r
+    hide = ...  # type: Sequence[AnyStr]\r
+    ignore = ...  # type: Sequence[AnyStr]\r
+\r
+    # These properties are created at runtime by __getattr__\r
+    subdirs = ...  # type: Dict[AnyStr, dircmp[AnyStr]]\r
+    same_files = ...  # type: List[AnyStr]\r
+    diff_files = ...  # type: List[AnyStr]\r
+    funny_files = ...  # type: List[AnyStr]\r
+    common_dirs = ...  # type: List[AnyStr]\r
+    common_files = ...  # type: List[AnyStr]\r
+    common_funny = ...  # type: List[AnyStr]\r
+    common = ...  # type: List[AnyStr]\r
+    left_only = ...  # type: List[AnyStr]\r
+    right_only = ...  # type: List[AnyStr]\r
+    left_list = ...  # type: List[AnyStr]\r
+    right_list = ...  # type: List[AnyStr]\r
+\r
+    def report(self) -> None: ...\r
+    def report_partial_closure(self) -> None: ...\r
+    def report_full_closure(self) -> None: ...\r
+\r
+    methodmap = ...  # type: Dict[str, Callable[[], None]]\r
+    def phase0(self) -> None: ...\r
+    def phase1(self) -> None: ...\r
+    def phase2(self) -> None: ...\r
+    def phase3(self) -> None: ...\r
+    def phase4(self) -> None: ...\r
+    def phase4_closure(self) -> None: ...\r
+\r
+if sys.version_info >= (3,):\r
+    def clear_cache() -> None: ...\r