MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / run_git

Function run_git

tools/commitlist.py:110–117  ·  view source on GitHub ↗
(*args: str)

Source from the content-addressed store, hash-verified

108
109
110def run_git(*args: str) -> str:
111 completed = subprocess.run(
112 ["git", *args],
113 check=True,
114 text=True,
115 capture_output=True,
116 )
117 return completed.stdout.strip()
118
119
120def normalize_whitespace(text: str) -> str:

Callers 1

collect_commitsFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected