Lines Matching refs:exclude_paths
83 exclude_paths: Optional[list[str]] = None,
103 name, root_path, include_paths, exclude_paths, env
112 exclude_paths: Optional[list[str]] = None,
127 self._dir_snapshot.restore_snapshot(name, root_path, exclude_paths, env)
342 def _is_excluded(self, path: str, exclude_paths: list[pathlib.Path]) -> bool:
344 return exclude_paths and any(
345 path.startswith(exclude_path) for exclude_path in exclude_paths
352 exclude_paths: list[pathlib.Path],
358 if not self._is_excluded(os.path.join(root, path), exclude_paths)
370 exclude_paths: Optional[list[str]] = None,
392 exclude_paths = (
393 self._expand_wildcard_paths(root_path, exclude_paths, env)
394 if exclude_paths
451 if self._is_excluded(path.as_posix(), exclude_paths):
460 self._filter_excluded_paths(root, directories, exclude_paths)
461 self._filter_excluded_paths(root, files, exclude_paths)
487 exclude_paths: Optional[list[str]] = None,
508 exclude_paths = (
509 self._expand_wildcard_paths(root_path, exclude_paths, env)
510 if exclude_paths
515 file_infos_dict, root_path, exclude_paths
517 self._restore_directories(file_infos_dict, root_path, exclude_paths)
518 replaced = self._restore_files(file_infos_dict, root_path, exclude_paths)
526 exclude_paths: list[str],
531 self._filter_excluded_paths(root, directories, exclude_paths)
532 self._filter_excluded_paths(root, files, exclude_paths)
552 exclude_paths: list[str],
559 if self._is_excluded(dir_path.as_posix(), exclude_paths):
568 exclude_paths: list[str],
574 if self._is_excluded(file_path.as_posix(), exclude_paths):