Lines Matching defs:str
23 def _run(cmd: List[str], cwd: Path) -> str:
28 def fetch(proj_path: Path, remote_names: List[str]) -> None:
38 def add_remote(proj_path: Path, name: str, url: str) -> None:
49 def remove_remote(proj_path: Path, name: str) -> None:
63 def parse_remote(line: str) -> Tuple[str, str]:
72 def get_sha_for_branch(proj_path: Path, branch: str):
77 def get_commits_ahead(proj_path: Path, branch: str,
78 base_branch: str) -> List[str]:
87 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime:
93 def list_remote_branches(proj_path: Path, remote_name: str) -> List[str]:
104 def list_remote_tags(proj_path: Path, remote_name: str) -> List[str]:
106 def parse_remote_tag(line: str) -> str:
122 def is_commit(commit: str) -> bool:
127 def merge(proj_path: Path, branch: str) -> None:
137 def add_file(proj_path: Path, file_name: str) -> None:
142 def delete_branch(proj_path: Path, branch_name: str) -> None:
147 def start_branch(proj_path: Path, branch_name: str) -> None:
152 def commit(proj_path: Path, message: str) -> None:
157 def checkout(proj_path: Path, branch_name: str) -> None:
162 def push(proj_path: Path, remote_name: str) -> None: