Searched defs:Path (Results 1 – 5 of 5) sorted by relevance
/tools/external_updater/ |
D | git_utils.py | 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: 54 def list_remotes(proj_path: Path) -> Dict[str, str]: 72 def get_sha_for_branch(proj_path: Path, branch: str): 77 def get_commits_ahead(proj_path: Path, branch: 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]: [all …]
|
D | fileutils.py | 32 def get_absolute_project_path(proj_path: Path) -> Path: 40 def get_metadata_path(proj_path: Path) -> Path: 45 def get_relative_project_path(proj_path: Path) -> Path: 50 def read_metadata(proj_path: Path) -> metadata_pb2.MetaData: 69 def write_metadata(proj_path: Path, metadata: metadata_pb2.MetaData) -> None:
|
D | external_updater.py | 69 def build_updater(proj_path: Path) -> Tuple[Updater, metadata_pb2.MetaData]: 124 proj_path: Path,
|
D | updater_utils.py | 27 def create_updater(metadata: metadata_pb2.MetaData, proj_path: Path,
|
D | base_updater.py | 24 def __init__(self, proj_path: Path, old_url: metadata_pb2.URL,
|