MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _git

Function _git

tasks/scripts/release.py:51–54  ·  view source on GitHub ↗
(cmd: list[str])

Source from the content-addressed store, hash-verified

49
50
51def _git(cmd: list[str]) -> str:
52 return (
53 subprocess.check_output(["git", *cmd], cwd=_repo_root()).decode("utf-8").strip()
54 )
55
56
57def _parse_semver_tag(tag: str) -> tuple[int, int, int] | None:

Callers 2

_latest_semver_tagFunction · 0.85
_compute_versionsFunction · 0.85

Calls 1

_repo_rootFunction · 0.85

Tested by

no test coverage detected