Lines Matching defs:Path

27 def fetch(proj_path: Path, remote_name: str, branch: str | None = None) -> None:
38 def add_remote(proj_path: Path, name: str, url: str) -> None:
50 def remove_remote(proj_path: Path, name: str) -> None:
56 def list_remotes(proj_path: Path) -> dict[str, str]:
76 def detect_default_branch(proj_path: Path, remote_name: str) -> str:
90 def get_sha_for_branch(proj_path: Path, branch: str):
97 def get_most_recent_tag(proj_path: Path, branch: str) -> str | None:
114 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime:
122 def list_remote_branches(proj_path: Path, remote_name: str) -> list[str]:
135 def list_local_branches(proj_path: Path) -> list[str]:
153 def merge(proj_path: Path, branch: str) -> None:
165 def merge_conflict(proj_path: Path) -> bool:
173 def add_file(proj_path: Path, file_name: str) -> None:
179 def remove_gitmodules(proj_path: Path) -> None:
185 def delete_branch(proj_path: Path, branch_name: str) -> None:
191 def start_branch(proj_path: Path, branch_name: str) -> None:
196 def commit(proj_path: Path, message: str, no_verify: bool) -> None:
202 def commit_amend(proj_path: Path) -> None:
208 def checkout(proj_path: Path, branch_name: str) -> None:
214 def detach_to_android_head(proj_path: Path) -> None:
222 def push(proj_path: Path, remote_name: str, has_errors: bool) -> None:
234 def reset_hard(proj_path: Path) -> None:
240 def clean(proj_path: Path) -> None:
246 def is_valid_url(proj_path: Path, url: str) -> bool:
253 def list_remote_tags(proj_path: Path, remote_name: str) -> list[str]:
262 def diff(proj_path: Path, diff_filter: str, revision: str) -> str:
272 def is_ancestor(proj_path: Path, ancestor: str, child: str) -> bool:
296 def list_branches_with_commit(proj_path: Path, commit: str, remote_name: str) -> list[str]: