Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 5 of 5) sorted by relevance

/tools/external_updater/
Dgit_utils.py23 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 …]
Dfileutils.py32 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:
Dexternal_updater.py69 def build_updater(proj_path: Path) -> Tuple[Updater, metadata_pb2.MetaData]:
124 proj_path: Path,
Dupdater_utils.py27 def create_updater(metadata: metadata_pb2.MetaData, proj_path: Path,
Dbase_updater.py24 def __init__(self, proj_path: Path, old_url: metadata_pb2.URL,