Lines Matching refs:Path
14 from pathlib import Path
20 sys.path.append(os.fspath(Path(__file__).parent.parent))
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
34 WEST_PATCH_BASE = Path("zephyr") / "patches"
35 WEST_PATCH_YAML = Path("zephyr") / "patches.yml"
110 type=Path,
119 type=Path,
126 type=Path,
235 type=Path,
273 topdir = Path(self.topdir)
324 west_config = Path(args.west_workspace) / ".west" / "config"
362 patch_path = os.path.realpath(Path(args.patch_base) / pth)
396 mod_path = Path(args.west_workspace) / mod
436 mod_path = Path(args.west_workspace) / m
531 def get_file_sha256sum(filename: Path) -> str: argument
545 topdir = Path(self.topdir)
547 if Path(module_name_or_path).is_absolute():
548 if Path(module_name_or_path).is_dir():
549 return Path(module_name_or_path).resolve().relative_to(topdir)
553 return Path(module_name_or_path)
558 return Path(m.project).relative_to(topdir)