Lines Matching defs:str
25 def _run(cmd: List[str], cwd: Path) -> str:
30 def fetch(proj_path: Path, remote_names: List[str]) -> None:
40 def add_remote(proj_path: Path, name: str, url: str) -> None:
51 def remove_remote(proj_path: Path, name: str) -> None:
65 def parse_remote(line: str) -> Tuple[str, str]:
74 def get_sha_for_branch(proj_path: Path, branch: str):
79 def get_commits_ahead(proj_path: Path, branch: str,
80 base_branch: str) -> List[str]:
90 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime:
96 def list_remote_branches(proj_path: Path, remote_name: str) -> List[str]:
107 def list_remote_tags(proj_path: Path, remote_name: str) -> List[str]:
110 def parse_remote_tag(line: str) -> str:
119 def get_default_branch(proj_path: Path, remote_name: str) -> str:
136 def is_commit(commit: str) -> bool:
141 def merge(proj_path: Path, branch: str) -> None:
151 def add_file(proj_path: Path, file_name: str) -> None:
156 def delete_branch(proj_path: Path, branch_name: str) -> None:
161 def start_branch(proj_path: Path, branch_name: str) -> None:
166 def commit(proj_path: Path, message: str) -> None:
171 def checkout(proj_path: Path, branch_name: str) -> None:
176 def push(proj_path: Path, remote_name: str, has_errors: bool) -> None: