Home
last modified time | relevance | path

Searched defs:PathOrStr (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_presubmit/py/pw_presubmit/
Dgit_repo.py24 PathOrStr = Union[Path, str] variable
32 *args: PathOrStr, show_stderr=False, repo: PathOrStr = '.'
46 def _ls_files(args: Collection[PathOrStr], repo: Path) -> Iterable[Path]:
57 commit: str, pathspecs: Collection[PathOrStr], repo: Path
113 pathspecs: Collection[PathOrStr] = (),
185 pathspecs: Collection[PathOrStr],
221 pathspecs: Collection[PathOrStr],
244 def root(repo_path: PathOrStr = '.', *, show_stderr: bool = True) -> Path:
265 def within_repo(repo_path: PathOrStr = '.') -> Optional[Path]:
273 def is_repo(repo_path: PathOrStr = '.') -> bool:
[all …]
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dpython_protos.py52 PathOrStr = Union[Path, str] variable
56 output_dir: PathOrStr,
57 proto_files: Iterable[PathOrStr],
58 includes: Iterable[PathOrStr] = (),
101 def import_modules(directory: PathOrStr) -> Iterator:
119 proto_files: Iterable[PathOrStr],
120 includes: Iterable[PathOrStr] = (),
121 output_dir: Optional[PathOrStr] = None,
145 proto_file: PathOrStr,
146 includes: Iterable[PathOrStr] = (),
[all …]
/external/pigweed/pw_package/py/pw_package/
Dgit_repo.py25 PathOrStr = Union[pathlib.Path, str] variable
29 *args: PathOrStr, show_stderr=False, repo: PathOrStr = '.'
43 def git(*args: PathOrStr, repo: PathOrStr = '.') -> subprocess.CompletedProcess:
/external/pigweed/third_party/fuchsia/
Dgenerate_fuchsia_patch.py27 PathOrStr = Union[Path, str] variable