Searched refs:PathOrStr (Results 1 – 3 of 3) sorted by relevance
/external/pigweed/pw_presubmit/py/pw_presubmit/ |
D | git_repo.py | 25 PathOrStr = Union[Path, str] variable 28 def git_stdout(*args: PathOrStr, argument 30 repo: PathOrStr = '.') -> str: argument 37 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]: argument 44 def _diff_names(commit: str, pathspecs: Collection[PathOrStr], argument 59 pathspecs: Collection[PathOrStr] = (), argument 98 pathspecs: Collection[PathOrStr], argument 118 pathspecs: Collection[PathOrStr], argument 133 def root(repo_path: PathOrStr = '.', *, show_stderr: bool = True) -> Path: argument 151 def within_repo(repo_path: PathOrStr = '.') -> Optional[Path]: argument [all …]
|
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/ |
D | python_protos.py | 30 PathOrStr = Union[Path, str] variable 34 output_dir: PathOrStr, argument 35 proto_files: Iterable[PathOrStr], argument 36 includes: Iterable[PathOrStr] = ()) -> None: argument 49 cmd: Tuple[PathOrStr, ...] = ( 75 def import_modules(directory: PathOrStr) -> Iterator: argument 90 def compile_and_import(proto_files: Iterable[PathOrStr], argument 91 includes: Iterable[PathOrStr] = (), argument 92 output_dir: PathOrStr = None) -> Iterator: argument 114 def compile_and_import_file(proto_file: PathOrStr, argument [all …]
|
/external/pigweed/pw_package/py/pw_package/ |
D | git_repo.py | 25 PathOrStr = Union[pathlib.Path, str] variable 28 def git_stdout(*args: PathOrStr, argument 30 repo: PathOrStr = '.') -> str: argument 37 def git(*args: PathOrStr, argument 38 repo: PathOrStr = '.') -> subprocess.CompletedProcess: argument
|