MCPcopy
hub / github.com/pallets/werkzeug / _remove_by_pattern

Function _remove_by_pattern

src/werkzeug/_reloader.py:63–65  ·  view source on GitHub ↗
(paths: set[str], exclude_patterns: set[str])

Source from the content-addressed store, hash-verified

61
62
63def _remove_by_pattern(paths: set[str], exclude_patterns: set[str]) -> None:
64 for pattern in exclude_patterns:
65 paths.difference_update(fnmatch.filter(paths, pattern))
66
67
68def _find_stat_paths(

Callers 2

_find_stat_pathsFunction · 0.85
_find_watchdog_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected