Lines Matching defs:str
26 def fetch(proj_path: Path, remote_names: list[str]) -> None:
37 def add_remote(proj_path: Path, name: str, url: str) -> None:
49 def remove_remote(proj_path: Path, name: str) -> None:
64 def parse_remote(line: str) -> tuple[str, str]:
75 def detect_default_branch(proj_path: Path, remote_name: str) -> str:
89 def get_sha_for_branch(proj_path: Path, branch: str):
96 def get_commits_ahead(proj_path: Path, branch: str,
97 base_branch: str) -> list[str]:
108 def get_commit_time(proj_path: Path, commit: str) -> datetime.datetime:
116 def list_remote_branches(proj_path: Path, remote_name: str) -> list[str]:
137 def list_remote_tags(proj_path: Path, remote_name: str) -> list[str]:
141 def parse_remote_tag(line: str) -> str:
158 def is_commit(commit: str) -> bool:
163 def merge(proj_path: Path, branch: str) -> None:
183 def add_file(proj_path: Path, file_name: str) -> None:
195 def delete_branch(proj_path: Path, branch_name: str) -> None:
218 def start_branch(proj_path: Path, branch_name: str) -> None:
227 def commit(proj_path: Path, message: str) -> None:
233 def checkout(proj_path: Path, branch_name: str) -> None:
239 def push(proj_path: Path, remote_name: str, has_errors: bool) -> None:
263 def is_valid_url(proj_path: Path, url: str) -> bool: