Home
last modified time | relevance | path

Searched refs:repo_path (Results 1 – 15 of 15) sorted by relevance

/external/pigweed/pw_presubmit/py/pw_presubmit/
Dgit_repo.py60 repo_path: Optional[Path] = None) -> List[Path]:
71 if repo_path is None:
72 repo_path = Path.cwd()
75 return sorted(_diff_names(commit, pathspecs, repo_path))
77 return sorted(_ls_files(pathspecs, repo_path))
96 def _describe_constraints(git_root: Path, repo_path: Path,
100 if not git_root.samefile(repo_path):
117 def describe_files(git_root: Path, repo_path: Path, commit: Optional[str],
122 _describe_constraints(git_root, repo_path, commit, pathspecs, exclude))
133 def root(repo_path: PathOrStr = '.', *, show_stderr: bool = True) -> Path:
[all …]
Dpython_checks.py67 repo_path=package.root):
Dpigweed_presubmit.py480 repo_path=ctx.root))
/external/oss-fuzz/infra/cifuzz/
Dcoverage.py33 def __init__(self, project_name, repo_path): argument
37 self.repo_path = _normalize_repo_path(repo_path)
76 if not norm_file_path.startswith(self.repo_path):
86 relative_path = utils.remove_prefix(file_cov['filename'], self.repo_path)
102 def _normalize_repo_path(repo_path): argument
105 repo_path = os.path.normpath(repo_path)
106 if not repo_path.endswith('/'):
107 repo_path += '/'
108 return repo_path
Daffected_fuzz_targets.py28 repo_path): argument
55 coverage_getter = coverage.OssFuzzCoverageGetter(project_name, repo_path)
/external/oss-fuzz/infra/base-images/base-builder/
Ddetect_repo.py93 def get_repo(repo_path): argument
103 location=repo_path,
110 def check_for_repo_name(repo_path, expected_repo_name): argument
118 if not os.path.exists(os.path.join(repo_path, '.git')):
122 location=repo_path)
131 def check_for_commit(repo_path, commit): argument
143 if not os.path.exists(os.path.join(repo_path, '.git')):
147 if os.path.exists(os.path.join(repo_path, '.git', 'shallow')):
148 execute(['git', 'fetch', '--unshallow'], location=repo_path)
152 location=repo_path)
/external/deqp-deps/amber/tools/
Droll-all34 repo_path=$(dirname "$0")/..
36 cd "$repo_path"
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/
Droll_deps.sh30 repo_path=$(dirname "$0")/..
32 cd "$repo_path"
/external/deqp-deps/SPIRV-Tools/utils/
Droll_deps.sh30 repo_path=$(dirname "$0")/..
32 cd "$repo_path"
/external/swiftshader/third_party/SPIRV-Tools/utils/
Droll_deps.sh30 repo_path=$(dirname "$0")/..
32 cd "$repo_path"
/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_hash.py470 repo_path = os.path.dirname(next(iter(paths_dict.values())))
474 git.CreateBranch(repo_path, branch)
528 change_list = git.UploadChanges(repo_path, branch, commit_messages)
531 git.DeleteBranch(repo_path, branch)
/external/oss-fuzz/infra/
Dbisector.py177 repo_url, repo_path = build_specified_commit.detect_main_repo(
179 if not repo_url or not repo_path:
191 os.path.join(host_src_dir, os.path.basename(repo_path)))
Dbuild_specified_commit.py387 repo_url, repo_path = detect_main_repo(args.project_name, commit=args.commit)
389 if not repo_url or not repo_path:
395 os.path.join(host_src_dir, os.path.basename(repo_path)))
/external/pigweed/pw_build/py/pw_build/
Dgenerate_python_package_gn.py61 repo_path=root_dir)
/external/google-fruit/extras/benchmark/
Drun_benchmarks.py117 def git_repo_info(repo_path: str) -> Tuple[str, str]:
118 repo = git.Repo(repo_path)