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

Function git_commit_hash

scripts/common/git_helpers.py:20–21  ·  view source on GitHub ↗
(ref: str = 'HEAD')

Source from the content-addressed store, hash-verified

18
19
20def git_commit_hash(ref: str = 'HEAD'):
21 return run_git_command(['git', 'rev-parse', '--verify', ref])
22
23
24def git_diff(file_a: Path, file_b: Path) -> int:

Callers 2

download_projectFunction · 0.90
download_benchmarksFunction · 0.90

Calls 1

run_git_commandFunction · 0.85

Tested by 1

download_projectFunction · 0.72