MCPcopy Create free account
hub / github.com/argotorg/solidity / run_git_command

Function run_git_command

scripts/common/git_helpers.py:6–13  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

4
5
6def run_git_command(command):
7 process = subprocess.run(
8 command,
9 encoding='utf8',
10 capture_output=True,
11 check=True,
12 )
13 return process.stdout.strip()
14
15
16def git_current_branch():

Callers 2

git_current_branchFunction · 0.85
git_commit_hashFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected