Lines Matching refs:root_path
81 root_path: str,
103 name, root_path, include_paths, exclude_paths, env
111 root_path: str,
124 env = self._env_snapshot.restore_snapshot(name, root_path)
127 self._dir_snapshot.restore_snapshot(name, root_path, exclude_paths, env)
198 def restore_snapshot(self, name: str, root_path: str) -> dict[str, str]:
205 root_path,
322 root_path: str,
331 else os.path.join(root_path, path)
368 root_path: str,
388 self._expand_wildcard_paths(root_path, include_paths, env)
393 self._expand_wildcard_paths(root_path, exclude_paths, env)
404 relative_path = path.relative_to(root_path).as_posix()
420 relative_path = path.relative_to(root_path).as_posix()
434 relative_path = path.relative_to(root_path).as_posix()
437 if symlink_target.is_relative_to(root_path):
438 symlink_target = symlink_target.relative_to(root_path)
486 root_path: str,
509 self._expand_wildcard_paths(root_path, exclude_paths, env)
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)
525 root_path: str,
530 for root, directories, files in os.walk(root_path):
543 elif file_path.relative_to(root_path).as_posix() not in file_infos_dict:
551 root_path: str,
558 dir_path = pathlib.Path(root_path).joinpath(relative_path)
567 root_path: str,
573 file_path = pathlib.Path(root_path).joinpath(relative_path)
580 target = pathlib.Path(root_path).joinpath(target)