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 c30e2b0 commit be4ed22Copy full SHA for be4ed22
yalla.py
@@ -59,6 +59,7 @@ def get_gitignore_patterns() -> Set[str]:
59
def get_path_components(path: str) -> Tuple[str, str]:
60
return os.path.basename(path), os.path.relpath(path)
61
62
+
63
def matches_any_pattern(path_components: Tuple[str, str], patterns: Set[str]) -> bool:
64
name, rel_path = path_components
65
return any(
0 commit comments